Top "Timezone" questions

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

Converting Between Local Times and GMT/UTC in C/C++

What's the best way to convert datetimes between local time and UTC in C/C++? By "datetime", I mean some …

c++ c timezone dst
What value should I pass into TimeZoneInfo.FindSystemTimeZoneById(String)?

I want to use the TimeZoneInfo.FindSystemTimeZoneById(String) method, but I don't know what values to use as the input? …

c# .net timezone
Converting string to Instant

I am trying to covert datetime in string to instant using java 8 or utils package. For eg. String requestTime = "04:30 PM, …

java date timezone zoneddatetime java.time.instant
How to get default ZoneOffset in java8?

With java8 we know use ZoneId.default() can get system default ZoneId, but how to get default ZoneOffset? I see …

java java-8 timezone timezone-offset
Ruby / Rails - Change the timezone of a Time, without changing the value

I have a record foo in the database which has :start_time and :timezone attributes. The :start_time is a …

ruby-on-rails ruby datetime time timezone
new Date() works differently in Chrome and Firefox

I want to convert date string to Date by javascript, use this code: var date = new Date('2013-02-27…

javascript date timezone
MySQL: setting time_zone in my.cnf options file

In MySQL you can set a session variable called time_zone to change the timezone. This is useful e.g. …

mysql timezone my.cnf
How to work with time zones in ASP.NET?

I am working on an "online reminder system" project (ASP.NET 2.0 (C#) / SQL Server 2005) As this is a reminder service …

c# asp.net timezone reminders
How to Parse Date from GMT TimeZone to IST TimeZone and Vice Versa in android

I am working on a project that fetches Date/Time from backend in IST(Indian standard Time) as shown "2013-01…

java android date timezone simpledateformat
UTC Offset in PHP

What's the easiest way to get the UTC offset in PHP, relative to the current (system) timezone?

php timezone utc