Jump to content

[SOLVED] PHP and Datetime?


random1

Recommended Posts

Hi All,

 

I have a PHP and MySQL site on a local PC.

 

A MySQL table has a field which is of type datetime.

 

I currently use the MySQL function NOW() to insert the current date time. (Which uses the current local time of the server)

 

Recently I read that there is a better system of time call UTC (Coordinated Universal Time):

 

http://en.wikipedia.org/wiki/Coordinated_Universal_Time

 

Is this a better more accurate worldwide system for handling dates and time? Should I user UTC instead?

Link to comment
https://forums.phpfreaks.com/topic/133144-solved-php-and-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.