Jump to content

server time


smerny

Recommended Posts

I've been entering my datetime into the database and it's been showing up at -7GMT in the server... I could adjust from there, but i remember seeing something about putting datetime in the database in a certain way... probably setting everything to GMT or something?... what way is it normally done?

 

I've also heard that it might not be best to use datetime in the first place.... what is the best way for keeping track of time (year, month, day, hour, minute, second) in a database? being able to adjust for users with different preferences of timezone.

Link to comment
https://forums.phpfreaks.com/topic/170471-server-time/
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.