Jump to content

Server date/time?


ruddie

Recommended Posts

I just recalled using date(); time() for lots of things in my database, including post times etc. At first I simply assumed this used server time or something, but when I changed my PC's time, it changed ! Now, shortly after this I simply assumed this was because of me using a localhost? But I am not certain anymore..

 

If I would place this online, would date() and time() return you server time or user time? I couldnt find it on google =-(

Link to comment
https://forums.phpfreaks.com/topic/227545-server-datetime/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.