gmt Questions

5

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...
Rozier asked 27/5, 2015 at 9:8

5

Solved

I have a few queries regarding the Time zones: Can the time be captured in UTC alone? Is UTC -6 and GMT -6 the same, and does that mean it is US local time? Say, I have UTC time as "02-01-201...
Prewar asked 23/2, 2018 at 7:13

34

Solved

When I create a new Date object, it is initialized to the current time but in the local timezone. How can I get the current date and time in GMT?
Precious asked 21/11, 2008 at 13:2

4

Solved

I need to send an email to users based wherever in the world at 9:00 am local time. The server is in the UK. What I can do is set up a time difference between each user and the server's time, which...
Greenway asked 27/5, 2011 at 16:35

5

Solved

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/...
Lamella asked 14/7, 2010 at 10:49

5

Solved

In C#, how can I get the current DateTime in the following format? 2011-08-10T21:36:01.6327538Z
Landonlandor asked 12/10, 2011 at 23:58

11

Solved

I have a date stored on my online server database which is in GMT. I load the date and convert it to the user's timezone using the following code : if let messagedate = oneitem["timestamp"] as? ...
Noami asked 28/7, 2016 at 16:29

2

Solved

I am storing time zone by offset-from-UTC for an application using this dropdown: <select id="timezone" name="timezone" > <option value="-12">[UTC - 12] Baker Island Time</option&gt...
Roselynroseman asked 23/8, 2013 at 14:25

2

Solved

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....
Yuu asked 4/9, 2018 at 0:32

3

Solved

I have a problem converting timestamp to GMT. As far as I know, the timestamp is allways in GMT time so I expect datetime.fromtimestamp returning GMT or timezone-aware datetime but it returns my lo...
Churchlike asked 25/8, 2019 at 13:44

5

Solved

I am trying to convert a date/time GMT 0 to GMT -6 in Perl. For example, a DHCP Server lease time is in the following format: 2010/02/18 23:48:37 I am trying to convert that time to the Loca...
Alleviate asked 24/2, 2010 at 21:6

3

Solved

I get a datetime field, that's currently in the query as: SELECT DATE_FORMAT(x.date_entered, '%Y-%m-%d') AS date FROM x ORDER BY date ASC What I want to do is to subtract 3 hours from that date ...
Delaminate asked 16/5, 2011 at 16:9

12

In Java, I want to get the current time in GMT. I tried various options like this: Date date = new Date(); Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT")); date1 = calendar....
Rees asked 8/3, 2011 at 17:28

3

Solved

In PHP, date('I') will tell me if Daylight Savings Time is in effect. Does this tell me if DST is in effect specifically for my server's configured timezone, or whether or not it's in effect period...
Wriest asked 6/12, 2013 at 7:6

3

Solved

My question might be trivial but I'm just looking for clarifications. I read somewhere in SO that Java's Date() is actually always in UTC time, how come when I create a Date() object and print it u...
Sianna asked 10/5, 2011 at 8:40

3

Solved

I am pretty new to Java and I am a little stuck with using SimpleDateFormat and Calendar. I have a Date-Object and want to extract a GMT datestring like yyyy-MM-dd HH:mm:ss. I live in Germany and a...
Petroglyph asked 18/7, 2011 at 9:18

2

Solved

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 ...
Natatory asked 2/6, 2016 at 10:48

3

I have a question about Swift type TimeZone. I need to get a UTC0 time zone to format my Date object. I'm creating TimeZone object like this. let utcTimeZone = TimeZone(abbreviation: "UTC") But w...
Merrel asked 9/10, 2019 at 15:9

2

Solved

Emacs is two hours off from the system time. I tried to google for the problem, but no luck. What do I need to configure to correct this? I suspect this to be the difference from GMT to where I liv...
Swinish asked 2/6, 2013 at 15:19

13

Solved

I need to force any time related operations to GMT/UTC, regardless the timezone set on the machine. Any convenient way to so in code? To clarify, I'm using the DB server time for all operations, b...
Ali asked 13/4, 2010 at 8:21

6

Solved

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...
Guardsman asked 30/3, 2011 at 19:30

3

Solved

I am using a query to get some application Received Date from Oracle DB which is stored as GMT. Now I have to convert this to Eastern standard/daylight savings time while retrieving. I am using the...
Mascot asked 8/4, 2014 at 9:58

1

Solved

I imagine there's a simple way to do this, I just haven't figured it out yet. I want to display a button only between 9am to 12pm AEST (GMT+10). So for a user in AWST (GMT+8), they will not be able...
Townsley asked 26/6, 2020 at 6:51

7

Solved

In .NET, the following statements return different values: Response.Write( TimeZoneInfo.ConvertTime( DateTime.Parse("2010-07-01 5:30:00.000"), TimeZoneInfo.FindSystemTimeZoneById(&quot...
Sampling asked 18/2, 2010 at 21:29

1

Solved

I have difficulties to understand what the timeZone option in the Intl.DateTimeFormat() method exactly does. I could not find an in-depth resource on this, yet. Any explanation would be much apprec...
Merriemerrielle asked 2/6, 2020 at 14:47

© 2022 - 2024 — McMap. All rights reserved.