![]() |
Help with timing event
Hello, I have been adapting this code for a ratio wait time for a vbulletin torrent tracker. The problem i may be having is its not correctly getting current time and subtracting the time in an added started column which uses datetime.
here is code Code:
//ratio wait code "started"field is saved in this format : `started` datetime NOT NULL default '0000-00-00 00:00:00', Thanx in advance to anyone who can solve this for me. By the way this is for vbulletin 3.0.13 if it matters. Will V. After playing all day, I added a field lookup so now what i really need is a way to do this line Code:
$elapsed = floor(($zaw["last_action"] - $zaw["started"]) / 3600); |
All times are GMT. The time now is 02:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|