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
22
votes
8 answers

Remove time from GMT time format

I am getting a date that comes in GMT format, Fri, 18 Oct 2013 11:38:23 GMT. The problem is that the time is messing up the timeline that I am using. How can I strip out everything except for the actual date?
Grady D
  • 1,889
  • 6
  • 30
  • 61
20
votes
5 answers

C# - Formatting current time

In C#, how can I get the current DateTime in the following format? 2011-08-10T21:36:01.6327538Z
PercivalMcGullicuddy
  • 5,263
  • 9
  • 46
  • 65
19
votes
2 answers

Should I use DateTime.Now or DateTime.UtcNow in HttpCookie.Expires and HttpCachePolicy.SetExpires?

Should I use DateTime.Now or DateTime.UtcNow in HttpCookie.Expires and HttpCachePolicy.SetExpires? Cookies are sending 'GMT' time, but I don't know what happen if I send DateTime.Now.AddDays(3) if I would be in GMT+5. Same with Expires HTTP header…
vtortola
  • 34,709
  • 29
  • 161
  • 263
17
votes
5 answers

How to use an Internet time server to get the time?

I would like to get the GMT [ Greenwich Mean Time ], and also I don't want to rely on my system date time for that. Basically, I want to use time sync server like in.pool.ntp.org [ India ] for GMT calculation, or may be I am going in wrong…
Rakesh Juyal
  • 35,919
  • 68
  • 173
  • 214
17
votes
2 answers

Understanding specific UTC time format YYYY-MM-DDTHH:MM:SS.SSSZ

I have two related questions. Assume a program running in (British Standard Time)BST generates a date time value for current time in UTC (YYYY-MM-DDTHH:MM:SS.SSSZ) format. Also assume current time in London is 2016-06-01 12:33:54. If the current…
QVSJ
  • 1,165
  • 2
  • 12
  • 22
17
votes
2 answers

What are the "standard" timezone abbreviations?

I am storing time zone by offset-from-UTC for an application using this dropdown: