The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
time functions - please help
please help code this function as i cant do it alone
i got stuck time format is : 13:59:27 13 hour - mean 1 59 mins 27 secs now i want to take 2 times and make the diffrent for exsample i got $dbtime and time - now with the format i mention above so i want to do : $timeago = $timenow - $dbtime so ill get anser like : 5 minutes, 34 secs AGO now i did all but my problem is if i got things like that timenow = 14:02:23 dbtime = 13:58:27 so its says 1 hours, bla bla instead of 3 minutes and 56 secs any ideas how to slove this problem ? wow finally i did it :P PHP Code:
mods = you can close the thread |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|