Hi, What's the best way to get the current server time and date with PHP? (not the system time and date)
Thanx
what do you mean between server/system?
PHP uses the date() function which pulls the UNIX time/date from a UNIX server, the server that your code resides on.
actually, the time() function does that, not date(). time() gets the current epoch time of the server's CMOS clock and date() formats it for display.