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
0
votes
0 answers

How to convert est datetime String into GMT datetime in java

I tried below to get GMT Time SimpleDateFormat f = new SimpleDateFormat("ddmmyyyyHHmmss"); f.setTimeZone(TimeZone.getTimeZone("GMT")); Date date = f.parse("13072016132825"); System.out.println("GMT Time"+f.format(date.getTime()));
User30892
  • 9
  • 1
0
votes
2 answers

Why is the C# parsed DateTime 7 hours ahead?

In trying to convert my local time from Javascript to C# I've poked around S/O to find some examples. While I've found a few different approaches to this, all of them render the final time as 7 hours ahead of me, which I'm not…
spb
  • 4,049
  • 6
  • 22
  • 30
0
votes
1 answer

Can't view a .ps file by ghostscript through the command line (Windows 10)

I am learning how to make maps with a GMT open source software and as a result, I get a map.ps file. To view a map.ps, I need to use Ghostscript (via cmd), however, a computer does not even recognize that I have Ghostscript and GSView installed. So…
marianess
  • 115
  • 3
  • 12
0
votes
1 answer

Inconsistent Timezones with GMT set in parsing LDAP date and Timestamps

I'm parsing the times from AD. There are two formats, i.e., YMD LDAP timestamps for whenCreated, whenChanged, 18-digit LDAP/FILETIME timestamps for lastLogonTimestamp, pwdLastSet, etc. Because I need to analyze the data upon the time. It makes sense…
0
votes
1 answer

Absolute GMT date on iPhone

I'm trying to get a date that represents noon GMT for a recurring local notification. I need this local notification to fire at the exact moment to anyone using the app. So far, I'm trying this: NSCalendar *calendar = [NSCalendar…
Dexter
  • 5,666
  • 6
  • 33
  • 45
0
votes
4 answers

getSeconds() in JS returns seconds which are not equal to GMT seconds

I use this code to show simple clock on my website: function showClock() { var today = new Date(), h = today.getUTCHours(), m = today.getMinutes(), s = today.getSeconds(); h = checkTime(h); m = checkTime(m); s…
0
votes
2 answers

How To Get ISO-8601 GMT/UTC Week Number of Year

In Objective C, how do I take the GMT/UTC date and apply the ISO-8601 rule to get the week number? PHP generates a week number of the year in ISO-8601 format when one uses the gmdate('W') statement. This, however, doesn't match in Objective C when…
Volomike
  • 23,743
  • 21
  • 113
  • 209
0
votes
0 answers

Csh calls gmt script,boxlocal: Command not found

I am running one csh script which invokes gmt script,but then I have problems. csh script csh -x x_sect.gmt 0. 300. 0. 800. P1 \cp profile.xy profile1.xy bbox.csh plt >! plt_P1.ps Relevant part of x_sect.gmt script set center = `boxlocal -l $lon0…
Richard Rublev
  • 7,718
  • 16
  • 77
  • 121
0
votes
3 answers

IOS - Get Current TimeZone of Device in GMT format

I have searched a lot Regarding this issue on Google but Did,t find Proper Solution. All Result Gives Timezone in Date and time format. I want to Know that How to get Only Timezone of Device in GMT Format. Like, I want only this +5:30 as…
Badal Shah
  • 7,541
  • 2
  • 30
  • 65
0
votes
2 answers

How to display all datetime on website in user's GMT locale?

I store all datetime values as unix timestamp. Registered users can set personal GMT locale in their profile. What should I do to display all datetime on website in user's GMT locale? Thank you
Kirzilla
  • 16,368
  • 26
  • 84
  • 129
0
votes
1 answer

Is altering/converting a DateTime by GMT offset value DST safe?

How can I best convert a DateTime having only the GMT offset int available to me, adhering to DST and all things such as that? It seems rather convoluted. There must be a simple way. In C# .Net. Sorry, almost forgot to say.
James
  • 99
  • 1
  • 2
  • 7
0
votes
1 answer

querystring GMT datetime in Summer

I need to send a querystring parameter to our API server which is taking times in GMT format. I am a bit confused about what values I need to send during the summertime, since the dates are in GMT format. Let's assume we are in London (UK), it's…
MeV
  • 3,761
  • 11
  • 45
  • 78
0
votes
1 answer

How can I extract data from a netCDF variable using Generic Mapping Tools (GMT)

I have a netCDF file (e.g. 'file.nc') with 26 variables. These each have 500 time slices, on a grid (y=333, x=386). Using Generic Mapping Tools (GMT), I'd firstly like to create a new netCDF file consisting of 1 variable (e.g. 'temp'), while…
user3743235
  • 159
  • 8
0
votes
2 answers

Android convert gmt time to readable date

In android I would like to convert "2015-11-10T17:00:00-0500" to a readable date format such as : Nov 31, 2015 Nov 31, 2015 4:00:00 PM 4:00:00 PM 12:00:00 AM what would be the best way to do this, I have tried and failed using the Date method
Edmund Rojas
  • 6,376
  • 16
  • 61
  • 92
0
votes
1 answer

Sample raster cell value at coordinates?

I have many rasters in ESRI ASCII format (http://resources.arcgis.com/en/help/main/10.1/index.html#/Esri_ASCII_raster_format/009t0000000z000000/). I need to extract cell values at given locations / coordinates. Can anyone suggest a python package to…
BenP
  • 825
  • 1
  • 10
  • 30