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
2 answers

Time comparison in php

Possible Duplicate: strtotime date weird result I am trying to compare two times for an attendance system, i am trying to get the accurate time for Arkansas,USA but im not being to able to get the correct time. Please, guide me in the right…
jarus
  • 1,853
  • 11
  • 44
  • 76
-1
votes
2 answers

Android date remove GMT from DateTime

i need to remove "GMT" from a string like this one "2012-07-15 17:00 GMT". Try to use this code, but testDate returns null. Can anyone help ? Thank you String date = "2012-07-15 17:00 GMT"; SimpleDateFormat sdf = new…
filipe
  • 23
  • 1
  • 4
-2
votes
1 answer

Why DatetimeComponents are no returning hours, minutes and seconds when converting GMT time

I'm converting date time(2021-10-15 18:30:00 UTC,2021-10-15 18:30:00 +0000) to datetime component but it's missing hours, minutes and seconds let changedDate = Calendar.current.date(byAdding: .day, value: -10, to: actualDate)! var datcomp =…
Amogam
  • 321
  • 5
  • 20
-2
votes
2 answers

How to get time from user with respect to timezone

Good day, I am working on a project reporting. and its my first time i have to deal with datetime. I have database mongodb, as we know mongodb stores date time in UTC. now i would like to show data from users provided date and time zone. for example…
cool cool
  • 67
  • 10
-2
votes
1 answer

Convert GMT time to specific String Format

I have specific case that I must take the date field, convert it to GMT time and then to convert it to specific String format. This gives the GMT time: public static void main(String[] args) { Date rightNow =…
Veljko
  • 1,708
  • 12
  • 40
  • 80
-2
votes
1 answer

What does DateTimeOffset.Now.Offset.ToString() return when in daylight savigs time in the UK

so I know the function DateTimeOffset.Now.Offset returns the offset from UTC and from wikipedia it states that GMT and UTC are the same. Therefore I would guess that DateTimeOffset.Now.Offset.ToString() would always return 00:00:00 if your timezone…
JKennedy
  • 18,150
  • 17
  • 114
  • 198
-2
votes
3 answers

GMT in java, simple but not working

This is both a duplicate and not a duplicate! Just please help me and don't refer me to anywhere else, cause I'm really unable to get the GMT time. The answer seems easy but it doesn't work for me. I don't know are the answers all aver the web…
Mohsen Kamrani
  • 7,177
  • 5
  • 42
  • 66
-2
votes
5 answers

Set GMT+8 PHP Time

I have some php scripts on a hosting, but hosting time is different from my local time (GMT+8) How set the right time() script to be GMT+8 ? When i use:
Mando Madalin
  • 193
  • 2
  • 3
  • 14
-2
votes
5 answers

Issue in coverting GMT time to Local time

My current Device time is --- 2013-05-09 10:23 AM I convert it int GMT with following code NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; dateFormatter.dateFormat = @"yyyy-MM-dd HH:mm a"; NSTimeZone *gmt = [NSTimeZone…
-3
votes
2 answers

Epoch_time_convertion_issue

My server is using GMT time zone but my application is working on IST, so I am converting GMT to IST while saving to database.But when I am converting this saved IST into epoch time then it's adding 5 hours 30 minutes into the saved IST time. Is…
user4723351
-3
votes
2 answers

Time of arrival

New-York: GMT - 5 Chicago: GMT - 6 Time of departure: 07:00 (New-York time); travel time: 02:48. How do I know at what time I'll be in Chicago? (Chicago time) I'm sorry that I could not give its decision. Thanks.
-4
votes
1 answer

How can I show the current timezone, date, and time on the page in JavaScript?

I need to show the current timezone, date and time on the web page in the same format as shown below every second with JavaScript. Ex: (GMT-05:00) 8/16/2022 01:30:00 PM Thanks in advance!
-6
votes
1 answer

Time Zone Calculation

Am developing website like online travel portal. The issue is displaying GMT time for various regions at flight booking and list out the timing. Any one gives idea to calculate and show the time for different countries? Thanks
Mathiarun
  • 1
  • 1
1 2 3
29
30