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
-1
votes
1 answer

How to convert Particular timezone of date into GMT timezone using esql of MQ?

I have the date of particular timezone, and I want to convert it to the GMT timezone, and then it needs to be inserted into DB using esql of MQ. Please help to resolve this issue.
Sarath
  • 9
  • 4
-1
votes
2 answers

How to convert GMT timezone according to device's Location?

I want to convert timezone from GMT to local timezone based on the device,s location. I have tried various method but not getting the desired result. I know there are lot of solution over the net but i am stuck here.So how can i dot that?I have a…
-1
votes
1 answer

weird strtotime with GMT which worked perfectly till march 31

Dynamically generating select in a form which works fine for dates less than March 31 but for April 1st and afterwords it is wrong. You can see I am specifying GMT exclusively which worked perfectly at-least for date:March 31. $today =…
kiranking
  • 306
  • 11
  • 29
-1
votes
2 answers

How to get local time from a specific string adding hh:mm

I have this date in this format: String date = "2018-12-08T07:50:00+01:00"; And I'd like to get the local time in this format (adding the hours over GMT) but I'm not able to do it date = "2018-12-08 08:50:00"; Other example: String date =…
hector s.
  • 126
  • 2
  • 9
-1
votes
1 answer

how to setup django timezone in pythonanywhere

I have just deployed my django website to pythonanywhere and I have noticed that it uses a different timezone than the one which my local server is using. I have an article model which contains a datetime field class Article(models.Model): …
Amine Messaoudi
  • 2,141
  • 2
  • 20
  • 37
-1
votes
2 answers

Convert indian time zone to local time

In my app I am getting time from server in API in IST timezone, I want to show time in device's local time zone. Below is my code for this but it seems its not working. SimpleDateFormat serverSDF = new SimpleDateFormat("yyyy-MM-dd…
-1
votes
1 answer

GMT cron expression for a PST based schedule?

I want to setup a cron schedule for running something every 30 minutes from 6:00am to 11:30pm daily, Pacific Standard Time. I'm setting this up on an AWS Lambda function, which works strictly with GMT. I first tried an approximation, ignoring…
Alex R
  • 11,364
  • 15
  • 100
  • 180
-1
votes
2 answers

How to transfer GMT Date to Local Date

I have got a String of Date which has the nonstandard GMT format, like "2016-08-31T02:04:58.893GMT". Now I need to transfer it to Local time format, like "2016-08-31 10:04:58". By the way, I am in China, there's 8 hours between the Local time and…
jlucky
  • 144
  • 2
  • 6
-1
votes
1 answer

Prevent jQuery.parseJSON from converting Date to GMT

I'm developing a Calendar app on Phonegap using CalenStyle API, it accents events as JSON which is being fetched from Webservice. But When I parse the data to JSON, it's converting my date to GMT which is unrecognized by the API. [{ "identifier":…
-1
votes
1 answer

Converting GMT to local results in one year difference

Environment: Ubuntu 14.04. I am trying to store into struct tm broken down time specified in GMT. Here is my C++ function: void mygmt(int year, int month, int day, int hour, int minute, int second) { struct tm gmtTime; memset(&gmtTime, 0,…
Peter
  • 11,260
  • 14
  • 78
  • 155
-1
votes
1 answer

How to get current Linux GMT timestamp in java?

Other questions are either about UTC timestamp or GMT formatted date. Someone with hands-on knowledge of SimpleDateFormat, Date etc. could know this on top of his head, I hope.
Mladen Adamovic
  • 3,071
  • 2
  • 29
  • 44
-1
votes
2 answers

Can't convert time to GMT

My problem is that I want to convert the local time to GMT. I am able to convert the actual time and save it to Parse but the problem is that Parse applies its own: Wed Feb 24 10:00:00 GMT+05:30 2016 This is the date that I am getting after…
pranav shukla
  • 353
  • 4
  • 15
-1
votes
1 answer

Function to Convert UTC DateTime to GMT Time In Delphi XE5

Please I Need a Function to Convert a UTC DateTime to GMT Format. This Function Should Receive the UTC DateTime as a TDateTime and Return The GMT Time as a String. Google Does Not Seem to Help Much. Here is an Illustration Current Value in UTC…
Xor-el
  • 242
  • 4
  • 11
-1
votes
1 answer

What is the reason to use Greenwich mean time (GMT) for world time

What is the reason to use Greenwich mean time (GMT) for world time. Is there any reason to use Greenwich Mean Time. Please any one explain.
Visva
  • 194
  • 1
  • 3
  • 11
-1
votes
2 answers

Addition of time difference of time zone (to GMT value)

The database stores values as YYYY-MM-DD HH:MM:SS (eg 2013-04-14%2015:00:00) which is in GMT time but the true value is the the above date and time + time zone difference of the server. $time_heard = '2013-04-14%2015:00:00'; $time_diff =…
Charm_quark
  • 376
  • 2
  • 6
  • 30
1 2 3
29
30