Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.