one more help please how to convert GMT to central time?
Moderators: chulett, rschirm, roy
one more help please how to convert GMT to central time?
What is GMT?
and how can GMT convert to central time?
could someone please help.
Thanks
and how can GMT convert to central time?
could someone please help.
Thanks
Something like that I would simply Google for. GMT is 'Greenwich Mean Time' and is basically the zero point for all timezone offsets. 'Central' is defined as GMT-6 so you subtract six hours from GMT to get Central.
And then there's Daylight Saving Time...
And then there's Daylight Saving Time...
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
And then there's your assumption that tini is in the USA...
Australia also has Central Time, defined as GMT +8.5 hours (some of it goes onto daylight saving in the Southern summer, some of it does not).
There are some SDK Transforms for converting GMT, if my memory serves me correctly. You can also use System(99), which returns the number of seconds since midnight GMT on 1970-01-01 and Oconv(thedate, "DZ") to return the time zone, and make some formula based upon these.
The switch to and from daylight saving is never easy, particularly in those countries that move it around for political convenience or otherwise manage it in a non-uniform fashion.
Australia also has Central Time, defined as GMT +8.5 hours (some of it goes onto daylight saving in the Southern summer, some of it does not).
There are some SDK Transforms for converting GMT, if my memory serves me correctly. You can also use System(99), which returns the number of seconds since midnight GMT on 1970-01-01 and Oconv(thedate, "DZ") to return the time zone, and make some formula based upon these.
The switch to and from daylight saving is never easy, particularly in those countries that move it around for political convenience or otherwise manage it in a non-uniform fashion.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Well, yah... duh, isn't everyone?ray.wurlod wrote:And then there's your assumption that tini is in the USA...
In my defense, I popped open my Windows Time Zone dialog on my PC and pulled down the entire list of time zones. There was only one labelled as Central, so thought the assumption was safe. Unfortunately, it has no "+8.5" entry but does show "+8.0" as "Perth". FWIW.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
But you never did get an answer about daylight saving time. Nor is there a ready answer. You could interrogate the system's time zone setting, and trust that it has been set correctly. You could rely on the legislation about the changeover dates, but these may change in future (they are changing this coming summer in some states in Australia, for example).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
The -5 you used subtracted 5 seconds from the TimeStamp; you need to subtract (5*60*60) from the timestamp.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>