Top "Timezone" questions

A time zone is a region on Earth that has a uniform, legally mandated standard time.

How do I get the current timezone name in Postgres 9.3?

I want to get the current timezone name. What I already achieved is to get the utc_offset / the timezone …

postgresql datetime timezone
Convert UTC to local time in Rails 3

I'm having trouble converting a UTC Time or TimeWithZone to local time in Rails 3. Say moment is some Time variable …

ruby-on-rails ruby ruby-on-rails-3 timezone activesupport
Date and time conversion to some other Timezone in java

i have written this code to convert the current system date and time to some other timezone. I am not …

java date timezone date-conversion
How to convert a timezone aware string to datetime in Python without dateutil?

I have to convert a timezone-aware string like "2012-11-01T04:16:13-04:00" to a Python datetime object. I saw the …

python datetime timezone rfc3339
UTC Date/Time String to Timezone

How do I convert a date/time string (e.g. 2011-01-01 15:00:00) that is UTC to any given timezone php …

php timezone utc
How to tackle daylight savings using TimeZone in Java

I have to print the EST time in my Java application. I had set the time zone to EST using: …

java date calendar timezone
Get timezone from DateTime

Does the .Net DateTime contain information about time zone where it was created? I have a library parsing DateTime from …

c# .net datetime timezone
How can I remove a pytz timezone from a datetime object?

Is there a simple way to remove the timezone from a pytz datetime object? e.g. reconstructing dt from dt_…

python timezone pytz
Python get current time in right timezone

Right now I use import datetime print(datetime.datetime.now().strftime("%X")) to display the current time as a string. …

python time timezone
Java: How do you convert a UTC timestamp to local time?

I have a timestamp that's in UTC and I want to convert it to local time without using an API …

java api date calendar timezone