Top "Datetimeoffset" questions

DateTimeOffset is a data structure that encapsulates a DateTime value and the Offset from UTC that the value reflects.

Daylight saving time and time zone best practices

I am hoping to make this question and the answers to it the definitive guide to dealing with daylight saving …

datetime timezone utc dst datetimeoffset
Subtract 1 day with PHP

I'm trying to take a date object that's coming out of my Drupal CMS, subtract one day and print out …

php datetimeoffset
DateTime vs DateTimeOffset

Currently, we have a standard way of dealing with .NET DateTime's in a TimeZone aware way: Whenever we produce a …

c# .net datetime timezone datetimeoffset
Determine Whether Daylight Savings Time (DST) is Active in Java for a Specified Date

I have a Java class that takes in the latitude/longitude of a location and returns the GMT offset when …

java dst datetimeoffset
pandas out of bounds nanosecond timestamp after offset rollforward plus adding a month offset

I am confused how pandas blew out of bounds for datetime objects with these lines: import pandas as pd BOMoffset = …

python datetime pandas datetimeoffset
How can I convert a Sql Server 2008 DateTimeOffset to a DateTime

I'm hoping to convert a table which has a DATETIMEOFFSET field, down to a DATETIME field BUT recalculates the time …

sql sql-server sql-server-2008 datetime datetimeoffset
Storing DateTime (UTC) vs. storing DateTimeOffset

I usually have an "interceptor" that right before reading/writing from/to the database does DateTime conversion (from UTC to …

sql sql-server tsql sql-server-2008 datetimeoffset
how to convert string to DateTime as UTC as simple as that

assume I have this string : How can I convert it to DateTimeOffset object that will have UTC time - means …

c# datetime datetimeoffset
How to use TimeZoneInfo to get local time during Daylight Saving Time?

I'm trying to use DateTimeOffset to convey a specific moment in time across any time zone. I can't figure out …

c# datetimeoffset timezone
Why does Json.NET DeserializeObject change the timezone to local time?

I'm using json.net to deserialize a DateTimeOffset, but it is ignoring the specified timezone and converting the datetime to …

c# json.net datetimeoffset