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
9
votes
6 answers

How to convert EST/EDT to GMT?

I have a few records inside a column which represent either EST or EDT Time. I need to convert these times to GMT time. The format of the time are: 10/1/2010 0:0:0 10/1/2010 0:6:0 ... 10/1/2010 23:54:0 ... 10/3/2010 0:0:0 ... Can someone…
widget
  • 945
  • 3
  • 13
  • 22
9
votes
1 answer

How can I get the time in GMT using GWT?

I want to get the current time of the machine in GMT and presented it on custom format like this one using GWT: yyyyMMddHHmmss How I can achieve that? I've tried this, but I didn't find how can I present this local time in GMT: Date date = new…
Lipis
  • 21,388
  • 20
  • 94
  • 121
9
votes
5 answers

HOW TO GET: Time Zone Setting of FTP Server?

I'm using PHP's ftp_rawlist function to get a listing of files and their associated last-modified date/time. For my purposes, I need to know the time zone (or offset) of the the last-modified date/time. The dates/times alone are useless to me as I…
StackOverflowNewbie
  • 39,403
  • 111
  • 277
  • 441
9
votes
3 answers

PHP timezone issue | BST and GMT

I have developed a piece of application which records when certain records where modified and created, so basically we take use of the time() function to record when a change is saved. I am in the UK so my time-zone has to be GMT. However in the UK…
Eclipse
  • 374
  • 2
  • 4
  • 17
8
votes
3 answers

getmtime() vs datetime.now():

This code prints a false warning once per year, in the night of the clock shift (central European summer time to central European time): import os import datetime now = datetime.datetime.now() age = now -…
guettli
  • 25,042
  • 81
  • 346
  • 663
8
votes
3 answers

UTC vs. GMT - Java vs. .Net

In .Net UTC and GMT are not the same Difference between UTC and GMT Standard Time in .NET Is it the same with Java? Does Java has the notion that GMT has DST changes while UTC doesnt? Thanks!
Saar
  • 1,753
  • 6
  • 20
  • 32
8
votes
5 answers

can 2 timezone be for 1 city?

I want to know if there can be 2 or more GMT timezones for one city or state. I know there can be more then one GMT timezone for a country, but not sure if it's for state and city too. Share your knowledge please.
Basit
  • 16,316
  • 31
  • 93
  • 154
8
votes
3 answers

Python vs Javascript DateTime

I'm trying to convert a Javascript API call to Python. The working javascript code works fine, generating a timestamp like this: var curdate = new Date(); var gmtstring = curdate.toGMTString(); var utc = Date.parse(gmtstring) / 1000; This result…
Paul Coghill
  • 667
  • 6
  • 27
8
votes
5 answers

JDBC Timestamp & Date GMT issues

I have a JDBC Date column, which if a i use getDate is get the 'date' part only 02 Oct 2009 but if i use getTimestamp i get the full 'date' 02 Oct 2009 13:56:78:890. This is excatly what i want. However the 'date' returned by getTimestamp 'ignores'…
n002213f
  • 7,805
  • 13
  • 69
  • 105
7
votes
1 answer

Find timezone from airport code using perl code

As I am right now working on blocking the particular flight to display if the departing time is with in 3 hours of booking time. As, I need to get the timezone of the departing airport to convert it to GMT and thus get the proper difference between…
ronak
  • 79
  • 1
  • 3
7
votes
4 answers

How to handle Day Light Saving in Oracle database

In one of the Oracle database server it is showing "+01:00" when I fire the "Select dbtimezone from dual" does that mean in summer the clock will shift one hour ahead ?. In another server it is showing "+00:00" does that mean the database server…
sandeep pandit
  • 111
  • 1
  • 1
  • 7
7
votes
2 answers

iPhone CurrentTimeZoneOffset from UTC

Is there a way to get the offset time zone for a given date. For example, if I am in New York and I pass in 12-12-2009 4 PM I would get back "-4" as we are 4 hours off GMT. (In .NET land there is a function to do that off the DateTime class. So I'm…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
6
votes
1 answer

How to get current GMT in Oracle

I'm trying to get the current GMT/UTC regardless of the time zones my current database is located. The possible solution I found is: SELECT SYSTIMESTAMP AT TIME ZONE dbtimezone FROM DUAL; and it is giving me the current GMT, but I am not 100%…
user1056038
  • 63
  • 1
  • 2
  • 4
6
votes
2 answers

How do I format a timestamp as GMT in Go?

I need to format a timestamp with RFC2616, the standard for HTTP dates. However, the standard says: All HTTP date/time stamps MUST be represented in Greenwich Mean Time (GMT), without exception. From a little digging GMT and UTC are not the same…
Elliot Chance
  • 5,526
  • 10
  • 49
  • 80
6
votes
3 answers

How to Convert a Date time value with UTC offset into GMT in java 7

I have a date time value 2016-12-21T07:48:36 with an offset of UTC+14. How to convert the datetime into equivalent standard GMT time. I tried with sampleDateFormat.parse() method.But, I am not able to get the TimeZone object for UTC offset like.…
GOPI
  • 71
  • 2
  • 3
  • 8
1 2
3
29 30