Questions tagged [timezone-offset]

A time zone offset describes the difference between a "wall time" and UTC. General questions about time zones will get better visibility when tagged with 'timezone'.

A time zone offset describes the difference between a "wall time" and UTC.

Time zones can change their offsets for many reasons, including daylight saving time. Therefore, an offset is not the same thing as a time zone, and It is only valid for the specific instant it is associated with.

General questions about time zones will get better visibility when tagged with .

See also the timezone tag wiki.

1036 questions
-1
votes
1 answer

Fetching the "timeZoneName" by Passing "timeZoneId" from google map API

Please refer this Link This API Call passes the location in request, and get the response with the details in JSON/XML eg :…
Abhii
  • 295
  • 2
  • 6
  • 18
-1
votes
1 answer

Why SimpleDateFormat is giving different time offsets?

I'm converting few dates from an old format to a newer one. But its output contains different time zones in the formatted string. Sample program : public class Dated { private static final DateFormat OLD_FORMAT = new SimpleDateFormat("yyyy-MM-dd…
blackSmith
  • 3,054
  • 1
  • 20
  • 37
-1
votes
1 answer

How do I get the current timezone offset (and formatted it properly)?

How would I use javascript to format the computer's timezone offset to this format: <+/->:, as in -7:00 (America/Los_Angeles) for example.
EndenDragon
  • 357
  • 5
  • 20
-1
votes
1 answer

In PHP, how do you get the text offset of a timezone

How do you get the timezone offset text? For example if I pass in: America/New_York ...I would like to receive back: -04:00
jbobbins
  • 1,221
  • 3
  • 15
  • 28
-1
votes
1 answer

Timezone and summertime CodeIgniter

I search the better solution for view the local time for all users of my website. I got a problem with summer time, actually i got this function if you got a better way help me : function timezone_by_offset($offset) { $abbrarray =…
Rodo
  • 3
  • 4
-1
votes
1 answer

stachow to run vba across a column of values to return a value to another column?

I am trying to put Low for a split second in column D in the corresponding row to every instance of 0 within column E. My problem is my code only references the first instance of 0 contained in F3 and not the second. How would I adjust this…
Jon mark
  • 9
  • 4
-1
votes
1 answer

PostgreSQL How to change offset of a timezone

We can see timezone offsets using SELECT * FROM pg_timezone_names; I want to know how we can change this only for a specific timezone
-1
votes
3 answers

Is the client timezone the same as what's specified for the user (javascript / moment.js / moment-timezone.js)

I'd like to be able to get the timezone that the client browser is running in, so I can compare it to the user's home timezone, which I know via a config option like "America/Vancouver". I'm using moment.js and moment-timezone.js, and I can't figure…
Joe Orost
  • 878
  • 7
  • 12
-1
votes
1 answer

Get timezone string from javascript in the format of "Asia/Kolkata"

I wants to find user machine timezone. But i do not want only offset but i wanted function in javascript that give me timezone string. e.g. "Asia/Kolkata" in these format. Please help Thanks Kalpesh
KALPESH GHAG
  • 43
  • 2
  • 7
-1
votes
1 answer

How can i convert an UTC datetime?

I have the following date provided via an XML file 2013-12-13T19:00:00+01:00 I would like to store it as DateTime within my database with ZERO UTC offset. Unfortunatelly my webserver has the following TimeZone info which destroys my conversion…
OrElse
  • 9,709
  • 39
  • 140
  • 253
-1
votes
2 answers

Convert GMT time to Day light saving countries Timezone

I am working on project in which i am converting the time according to user location. i.e if user belongs to ALASKA then then all the information will be shown according to his countries timezone.I did some conversion but i am getting wrong time in…
Bhavik Patel
  • 613
  • 3
  • 11
  • 28
-1
votes
3 answers

Calculating timezone from GMT value - Android

In a android form , i am accepting a GMT value(offset) from user such a +5:30 , +3:00. and from this value , i want to calculate the timeZone that is "India/Delhi". Any ideas on how to do it ......Plzz
ssingh357
  • 41
  • 1
  • 5
-2
votes
2 answers

How to get Offset from a Time Zone of a country which uses different time zone like EEST and EET

I want to get the offset of a time zone from a country where a device is in. Let's take an example of a device which is in Finland, Finland is currently using EEST, but for some reason my device has stored the time zone as EET. Now we know EEST and…
-2
votes
1 answer

How to parse "GMT+09:30" to hours, minutes

How to parse "GMT+09:30" to hours, minutes by using Java? hours: 9.5 minutes: 570
Huy Phan
  • 11
  • 1
  • 5
-2
votes
1 answer

How to get the GMT value for EDT time zone?

it seems that EDT timezone Id is not present in the java.util.Timezone package, if I want to have EDT - (GMT-4:00) and CDT as timezone, how do I do it. I have posted my code below. public static void main(String arg[]) { String timeZone…
1 2 3
68
69