Questions tagged [gmt]

Greenwich Mean Time (GMT) is a term originally referring to mean solar time at the Royal Observatory in Greenwich, London.

Greenwich Mean Time (GMT) originally referred to mean solar time at the Royal Observatory in Greenwich, London, which later became adopted as a global time standard. It is arguably the same as Coordinated Universal Time (UTC).

Related tag:

Useful Links:

UK: GMT

USA: GMT-5 --- GMT -10

448 questions
0
votes
2 answers

Convert date from GMT timezone to local time zone -- using ISO_OFFSET_DATE_TIME

I have a date, assumed to be in GMT, which I want to convert to local time zone using the ISO_OFFSET_DATE_TIME formatting. Basically, I want to go from: 2018-03-13 03:00:00.0 to: 2018-03-13T00:00:00-09:00 Obviously this would change, depending on…
robelgado
  • 103
  • 2
  • 11
0
votes
1 answer

How to get time zone using moment format

I need to get the current time zone using moment i have given my code like this console.log(moment.utc(new Date()).format('Z'),moment.utc(new Date()),'moment') and got the result like i would like to get +0530 but now i'm getting +00:00, how can…
Aashiq Rathnadas
  • 515
  • 1
  • 5
  • 24
0
votes
1 answer

Identify and inter conversion between plain date times (GMT/BST) to UTC

I got a legacy system(SQL Server DB) which holds date in plain date time format. There is also a MS Dynamics CRM system which user interacts and inserts data to CRM DB. Data flows from legacy system to CRM. The problem is CRM thinks all the data…
Ramu
  • 343
  • 1
  • 6
  • 21
0
votes
1 answer

How to get correct time for my website?

I need accurate time which my website should be able to access thru internet for synchronization. How can I do it? Should I ping some time server(by the way which one?) every 30 minutes? Then how will I be able to apply DST settings to get local…
user5858
  • 1,082
  • 4
  • 39
  • 79
0
votes
2 answers

How to convert ISO 8601 timestamp without timezone to ISO 8601 timestamp with timezone in PHP?

My timestamp is like this: $timestamp = "2018-08-28T08:49:44+00:00"; Easy to convert this to a unix timestamp: $unixtime = strtotime($timestamp); echo $unixtime; // result: 1535446184 My desired result is to get the timestamp with timezone for my…
Blackbam
  • 17,496
  • 26
  • 97
  • 150
0
votes
1 answer

How to calculate timestamp from given timestamp and GMTOffset value in PHP?

Currently I am using an API for flights search that shows flight details. In API response, few dates and GMTOffset is returned. I need to convert these to Pakistan Standard Time. API Response looks as following: DepartureDateTime:…
0
votes
1 answer

How to calculate average time zones for a group of users?

Alice lives in Russia(GMT+7). Bob lives in Alaska(GMT-8). They are relatively close, and less than 200 miles apart. https://www.google.com/maps/@55.5067319,-173.8489655,3z Alice and Bob should meet at noon based on an average of their Time Zones…
AdamOutler
  • 870
  • 4
  • 13
  • 29
0
votes
0 answers

C# get actual GMT time

does a function that return to me the actual GMT shift exist? Like, in France its actually GMT+02. So it would return : +02 Tried with some function such as DateTime.UtcNow; So yea i could compare the UTC time to my actual time to get the GMT+x…
DiSiZ
  • 43
  • 10
0
votes
1 answer

Storing date UTC on start of day in database

I am using moment for manipulate date in my application (NodeJs). At this time, i have a client who send a date in the serveur like this 2018-04-17T12:47:12.123+01:00 and the serveur transform it to into start of day of…
johan pujol
  • 173
  • 2
  • 10
0
votes
1 answer

Difference between Staging and production sent datetime in invoice

We have GMT time zone for staging and production. but when the code execute it shows correct result in staging and incorrect in production. bool checkTimeBSTorGMT =…
Tejas Thakor
  • 97
  • 12
0
votes
1 answer

which time zone is used by pandas Series.dt.weekday_name?

I have a pandas date time field and I am using Series.dt.weekday_name to get the week day name. The date time field is in GMT. The data corresponds to two different locations India and USA. At 6:52 pm in GMT.. it is 12:22 am tuesday in IST and 1:52…
NAGA
  • 338
  • 2
  • 4
  • 12
0
votes
1 answer

How do I determine GMT offset corrected for DST? (Embedded system, no O/S but HTTP.)

Wow! Tons of posts on converting GMT to local time, including correction for DST. But it seems my need is different. As the title says, I have a stand-alone embedded system with no O/S. I'm using NTP to get UTC. That is used to tag events with…
Dave
  • 5
  • 4
0
votes
3 answers

How to convert GMT time to IST?

Here I am getting GMT Time as follow. 1520489880 Now I am getting This as $myfinaldate = gmdate("d M H:i", $strtoDate); So it will returns me GMT time. Now i want to convet it to IST(indian standard time). where I stuck when I try //Set timezone…
user9341437
0
votes
0 answers

ToLocalTime method not converting UTC to BST correctly .Net

I have the following code which converts UTC to local date/time. Dim Ticks = DateTime.Parse("2018-03-25T01:00:00.000Z").Ticks Dim UtcDate As New DateTime(Ticks, DateTimeKind.Utc) Dim LocalTime = UtcDate.ToLocalTime() The result in the LocalTime…
user2233219
0
votes
1 answer

How to get the runTime of an active task according to its GMT lanuchTime in Spark?

I want to get the runtime of an active task. In the REST API page of /applications/[app-id]/stages/[stage-id], I can get tasks info in detail. enter image description here You can see, the executorRunTime is 0 when a task is not completed. I think I…
fan
  • 11
  • 3