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

"DateTime.Now" - why does it return GMT?

I am running on a Win2003 server, TimeZone set to (GMT -06:00) Central Time. I am programming with VS.NET 2005, f/x 2.x. When I execute the following code I do not get the expected results - but only when it is on the PROD server. Any other…
Keith Barrows
  • 24,802
  • 26
  • 88
  • 134
0
votes
1 answer

globalization - Need help to manipulate dates in javascript

Hi we're using jqwidgets Grid and all dates values retrieved from database are showing one day before that real value is, but if we put 3 more hours in the value the day value is correct. We assume that problem is based in the -3 hours GTM of…
user1127850
  • 125
  • 2
  • 7
0
votes
1 answer

.net MVC Application server time is different

So my web apis depend a lot on the current time of the user for authorization. The problem is the current time of the user is almost always different from the server's datetime. Was wondering if anybody can give me a suggestion as to how to properly…
gdubs
  • 2,724
  • 9
  • 55
  • 102
0
votes
2 answers

How to stretch GMT raster with gdal to work with google

How can I stretch a PNG raster coming from GMT (Generic Mapping Tools 4.5.6) in such a way that does align with Google satellite or bing? Such raster is in wgs84 and crosses two UTM zones (17 and 18 south). I think this is the problem of the…
Gery
  • 8,390
  • 3
  • 22
  • 39
0
votes
1 answer

using offsets with gmdate or like function

Recently it came to our attention that our DB was using multiple timezones to record data, and or pass data around, and because of that data started going out of sync. So recently we made some changes to the data (accepting that some of the time…
chris
  • 36,115
  • 52
  • 143
  • 252
0
votes
3 answers

Out.println() in programming

I have two lines that I want to print on my Main App Screen. I tried to set them equal to a variable to print on the main screen. What I put into the Java file was: public class TimeZoneConverter { public void main(String args[]) { …
user2262652
0
votes
1 answer

SQL Server GMT date & time conversion hourly report using group by

I have been beating my head on this problem for days now and would love some feedback or suggestions on how to properly handle this problem. I am trying to create a SQL query that is run hourly that selects all records for the previous hour and…
Eric
  • 93
  • 1
  • 1
  • 4
0
votes
3 answers

gmt or without gmt

this might be stupid question, but ill ask anyway. do i really need to implement gmt on site to get proper timestamp on a post? well im building a site like twitter. my feeds are working fine and showing me the time i need, like it shows "posted 11…
Basit
  • 16,316
  • 31
  • 93
  • 154
0
votes
2 answers

Why is it different Java Time zone when converting date from String?

I have dates strings in the format YYYYMMDD that I am trying to parse into dates using a date formatter obtained as public static DateFormat getDateFormat() { SimpleDateFormat result = new SimpleDateFormat("yyyyMMdd"); …
cp5
  • 1,087
  • 6
  • 26
  • 58
0
votes
1 answer

How can I get the time of GMT + 2 and put it in item of in 24 hours in the spinner (hours and minutes only)?

Example 3:50 = this is time of GMT +2 and putted it in item of spinner by 24 hours. 4:20 TO 12:50 Thank you for sharing ideas.
JAL
  • 109
  • 6
0
votes
1 answer

squeryl date to long conversion

I want to store java.util.Date (or Timestamp) as an int (or Long) in my db using Squeryl. I'd like to control how the date is transformed to the number and vice versa. How can I achieve this? I'm pretty new to scala/squeryl, coming from…
samz
  • 1,592
  • 3
  • 21
  • 37
0
votes
3 answers

crontab hour with UTC working hours GMT-8

i have a machine set in GMT. i would like to have a cron task scheduled from 6AM to 5PM in PST, which is GMT-8. gmt time zone. typical. 00 06-17 * * * now -8 produces a crontab bad hour error. 00 22-09 * * * the following is accepted or should…
Gabe Rainbow
  • 3,658
  • 4
  • 32
  • 42
0
votes
1 answer

CodeIgniter local timezone to GMT

i need help with multi timezone website in codeigniter. config.php: $config['time_reference'] = 'gmt'; date_default_timezone_set('UTC'); now when user want to see event(website is for events) it shows dates to his timezone with gmt_to_local()…
Mirza Delic
  • 4,119
  • 12
  • 55
  • 86
0
votes
2 answers

GMT Offset to PHP timezone

Is it possible to have something like? $offset = -05:00; $timezone = getTimeZone($offset); //return America/New_York date_default_timezone_set($timezone); How about the DST(Day Saving Light) if yes? EDIT What i have tried is function…
iLaYa ツ
  • 3,941
  • 3
  • 32
  • 48
0
votes
1 answer

Change device timezone to GMT in android

"13-11-2012 09:14:39" is the sample timestamp string getting from server in my app. I need to calculate the defference between that time and current device time. My Server is sending the time in GMT format. Do i need to change the device timezone…
user1670443
  • 461
  • 2
  • 6
  • 17