php time format !+reps!
#10

if u use gettime() it gets the actual time and date.
By subtracting 2 different unix timestamps u can get the time (in seconds) it lasted from the first to the second timestamp.

Php has functions to convert this number into different formats.

http://php.net/manual/de/function.date.php
Reply


Messages In This Thread
php time format !+reps! - by PawnoQ - 11.12.2011, 15:57
Re: php time format !+reps! - by sciman001 - 11.12.2011, 16:50
Re: php time format !+reps! - by PawnoQ - 11.12.2011, 17:09
Re: php time format !+reps! - by PawnoQ - 12.12.2011, 14:52
Re: php time format !+reps! - by sleepysnowflake - 12.12.2011, 14:57
Re: php time format !+reps! - by PawnoQ - 12.12.2011, 15:14
Re: php time format !+reps! - by sleepysnowflake - 12.12.2011, 15:20
Re: php time format !+reps! - by PawnoQ - 12.12.2011, 15:23
Re: php time format !+reps! - by sleepysnowflake - 12.12.2011, 15:27
Re: php time format !+reps! - by PawnoQ - 12.12.2011, 15:30

Forum Jump:


Users browsing this thread: 1 Guest(s)