- Topics: Active | Unanswered
Pages: 1
Topic closed
#1 2012-05-18 06:24:39
- **_mikesowerbutts_**
timestamps with timezone offset
Hi,
I am trying to create a Curriculum via the API and I am setting the start and end dates using the "normal" format, but with one difference - all the examples in the documentation are like this:
2004-05-18T00:15:00.000-07:00
I want to have something like this:
2012-05-31T00:00:00.000+01:00
using a positive time offset (becuase i am in the UK, and with daylight saving in effect currently, our time is GMT +1
But i keep getting a "format" error on the end date field.
One colleague has suggested incrementing the day, but subtract (24 hours - whatever positive time offset the user currently has) so for
2012-05-31T00:00:00.000+01:00
it would actually be
2012-06-01T00:00:00.000-23:00
Or similar
Any ideas?
Offline
Pages: 1
Topic closed