Hello,
I have a requirement where in my input is timestamp in "YYYY-MM-DD HH:NN:SS" format.This input is from the same timezone.My output should be 2001-12-17T09:30:47-05:00 with GMT offset.How will I convert timestamp to GMT? How will I take care of the day light savings?
Thanks in advance,
Converting timestamp to GMT
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Do you mean generically, or just for the USA when changeover date is mandated by law (except for those states in which it is ignored)? Search the forum for other discussions around this question.
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.