-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how can in fix Timezone of date #54
Comments
Since ODB doesn't have a clue about time zones, I believe you have to account for timezone differences in your application. Basically, you'd need to save the time according to UTC, then recalculate the time according to the user's own time zone. http://orientdb.com/docs/2.1/Managing-Dates.html https://en.wikipedia.org/wiki/Coordinated_Universal_Time Scott |
I would usually set server's timezone to UTC so that I know how to quickly On Mon, Nov 2, 2015 at 1:09 PM, Scott notifications@github.com wrote:
|
Right. That is what I also meant. LOL! Obviously, the clock you get the current time from to save would also need to be set to UTC. 😄 Scott |
Thank you @andreyvk and @smolinari for support. I close. |
Anytime @Ostico! )) |
Hi,
i am using odb - 1.7.11, phporient - 1.0
In database inserted record Asia/kolkata timezone but using ostico phporient driver retrieve record from database timezone will be differ. how can i fix it.
The text was updated successfully, but these errors were encountered: