About 16,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. Oracle SQL: converting timestamp to UTC - Stack Overflow

    Mar 27, 2014 · I have a simple select query such as below but I noticed I am getting back the regional times. How can I convert to UTC in my select statment? select myTimeStamp, MyName, MyBranch …

  3. 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 (

  4. Python UTC datetime object's ISO format doesn't include Z (Zulu or …

    Oct 29, 2013 · 37 Your goal shouldn't be to add a Z character, it should be to generate a UTC "aware" datetime string in ISO 8601 format. The solution is to pass a UTC timezone object to datetime.now() …

  5. 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 …

  6. 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 …

  7. 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 …

  8. Using current time in UTC as default value in PostgreSQL

    May 17, 2013 · I have a column of the TIMESTAMP WITHOUT TIME ZONE type and would like to have that default to the current time in UTC. Getting the current time in UTC is easy: postgres=# select …

  9. 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...

  10. Creating a DateTime object with a specific UTC DateTime in PowerShell

    Get-Date converts the given UTC time to local time and stores it as a datetime object with Kind set to Local. It does store the correct physical point in time, but it is a local time and will be printed in local …