Omgili - forum search, search forums  
  

Discussions about time offset

Displaying 1 - 10 out of 67,442 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Is there a way in mysql to calculate the offset for any timezone. For example to get the local time in the time zone 'Asia/calcutta' what i want to do is calculate the offset for this time zone and add that offset to GMT to get the local time.
Started by on , 4 posts by 4 people.  
Judging by the docs page on MySQL time zone support , you want to use" as the "from" time zone, and ....
DATEDIFF(NOW(), UTC_TIMESTAMP()) Cheers, Eric The offset will depend on the time that you're offset would be zero.
I have a variable foo that contains a time, lets say 4pm today, but the zone offset is wrong, i.e. it is in the wrong time zone. How do I change the time zone? When I print it I get Fri Jun 26 07:00:00 UTC 2009 So there is no offset, and I would like ...
Started by on , 4 posts by 4 people.  
>> local = DateTime.now => #<DateTime in Dublin and the time in New York ?>....
Let's pretend I want to convert between the timeTime.local should take account of the offset.
Way that I've found is to change the offset.
I am having trouble understanding how the System Registry can help me convert a DateTime object into the a corresponding TimeZone. I have an example that I've been trying to reverse engineer but I just can't follow the one critical step in which the UTCtime...
Started by on , 3 posts by 3 people.  
TimeZone.CurrentTimeZone....
Here is a code snippet in C#You can use DateTimeOffset to get the UTC offset so you shouldn't need to dig into the registry for that information.
The default installed time zones are listed on MSDN .
At -8 offset.
Ask your Facebook Friends
I have the string "9:00 AM". I would like to get the offset from midnight as a TimeSpan in C#?
Started by on , 5 posts by 5 people.  
The "....
Timespan? A timespan is just a period of time.
TimeSpan.TryParse(yourString, out yourTimeSpan); 9:00 AM is a punctual time, while TimeSpan structure represents time intervals so you are trying to convert apples to oranges.
Does Unix store the offset of the machine from GMT internally? like for eg:india standard time is GMT + 5:30.is this 5:30 stored some where? i need this to use it in a script like below if[[ off is "some value"]] then some statements fi
Started by on , 5 posts by 5 people.  
Traditionally....
The following program need change.
The kernel keeps GMT time internally, and when asked for the local time calculates the offset using when daylight saving time begins and ends, the offset from GMT, and so forth.
I want the server to always serve dates in UTC in the html, and have javascript on the client site convert it to the user's local timezone. Bonus if I can output in the user's locale date format.
Started by on , 10 posts by 10 people.  
This question duplicates....
'); The .getTimezoneOffset() method reports the time-zone offset in minutes, counting "westwards" from the GMT/UTC is really the time offset - not the actual geographic time-zone offset.
My database application is going to be deployed at multiple sites in different time zones. I need a T-SQL function that will determine the UTC timestamp of midnight on January 1 of the current year for YTD calculations. All of the data is stored in UTC...
Started by on , 5 posts by 5 people.  
:-) Ron ....
Think ...
Local time", your condition would have to be something like: (timestamp + (getutcdate() - getdate is run - but getdate() takes it into account, so you have to dynamically calculate the offset every time.
I have built a small forum where users can post messages. My server is in the United States, but the userbase for the forum is in Taiwan (+15hrs). When someone posts to the form, I store the time in my mySQL database in the format YYYY-MM-DD HH:MM:SS....
Started by on , 3 posts by 3 people.  
Based on my past experience I've come to a conclusion UTC is the best choice for storing date and time; when displaying it to the user, they are converted to....
Are having; take a look at MySQL's time zone reference manual for more details.
I have a timezone aware timestamptz field in PostgreSQL. When I pull data from the table, I then want to subtract the time right now so I can get it's age. The problem I'm having is that both datetime.datetime.now() and datetime.datetime.utcnow() seem...
Started by on , 3 posts by 3 people.  
Is there some pressing reason why you.
Dt.replace(tzinfo=None) may have to add time zone conversion as well.
We have two Linux servers, ServerA and ServerB. The system time on ServerA seems to be slightly behind ServerB, only by a few hundredths of a second. I am trying to diagnose an issue with a distributed transaction and have noticed slight inconsistencies...
Started by on , 3 posts by 3 people.  
And recommend to the admins that if the machines aren't .
Against the same time source, of course.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost