The Code-Bin
last_restart_date()
Posted by: TRUSTAbyss | December 12, 2007 @ 12:59pm
Revision 5 - Original post on November 2, 2007 @ 11:08pm

PHP Code



Syntax Highlighting





Author Comments
This function was formerly named "abyss_last_restart()" but I decided to rename it to "last_restart_date()" since it makes much more sense. This function will return the exact date of when a server was restarted based on its uptime in seconds. You can use this function exactly like the date() function. Enjoy!
Rating


4.41 / 8
274 Votes