About 49,500,000 results
Open links in new tab
  1. What is the difference between UTC and GMT? - Stack Overflow

    Feb 23, 2018 · UTC, which stands for Coordinated Universal Time in English, is defined by atomic clocks, but is otherwise the same. In UTC a second always has the same length. Leap seconds are …

  2. Storing DateTime (UTC) vs. storing DateTimeOffset - Stack Overflow

    I usually have an "interceptor" that right before reading/writing from/to the database does DateTime conversion (from UTC to local time, and from local time to UTC), so I can use DateTime.Now (

  3. Oracle SQL: converting timestamp to UTC - Stack Overflow

    Mar 27, 2014 · Starting from Oracle 19c, a new function is introduced which is TO_UTC_TIMESTAMP_TZ The SQL function TO_UTC_TIMESTAMP_TZ takes an ISO 8601 date …

  4. SQL Server - Convert date field to UTC - Stack Overflow

    Apr 23, 2010 · I have recently updated my system to record date/times as UTC as previously they were storing as local time. I now need to convert all the local stored date/times to UTC. I was wondering if …

  5. How to initialize a JavaScript Date to a particular time zone

    Background JavaScript's Date object tracks time in UTC internally, but typically accepts input and produces output in the local time of the computer it's running on. It has very few facilities for working …

  6. datetime - How to get UTC time in Python? - Stack Overflow

    Apr 11, 2013 · datetime.now(timezone.utc) datetime.now(timezone.utc).timestamp() * 1000 # POSIX timestamp in milliseconds For your purposes when you need to calculate an amount of time spent …

  7. date - Is it always a good idea to store time in UTC or is this the ...

    Jul 18, 2012 · Generally, it is the best practice to store time in UTC and as mentioned in here and here. Suppose there is a re-occurring event let's say end time which is always at the same local time let's …

  8. How do I get the current time in Python? - Stack Overflow

    UTC is a time standard that is nearly equivalent to the GMT timezone. (While GMT and UTC do not change for Daylight Savings Time, their users may switch to other timezones, like British Summer …

  9. how to convert string to DateTime as UTC as simple as that

    Oct 8, 2012 · The accepted answer did not work for me. Using DateTimeOffset.Parse(string) or DateTimeOffset.ParseExact(string) with the .UtcDateTime converter correctly changed the kind of …

  10. Force Java timezone as GMT/UTC - Stack Overflow

    I need to force any time related operations to GMT/UTC, regardless the timezone set on the machine. Any convenient way to so in code? To clarify, I'm using the DB server time for all operations, b...