I'm running a sbRIO 9606 (VxWorks 6.3, LabVIEW 2011 SP1).
I want to set the timezone of the sbRIO, because I need the correct date and time as a string locally on the target.
According to the system configuration API (MAX or web configuration on target) I should be able to set an offset of e.g. UTC+5:30 (indian timezone).
According to this thread it should be possible to set any offset to UTC like +2h 13 minutes, quote:
So, if I wanted to have a timezone that was 2 hours and 13 minutes behind GMT, I could use this:
RTTarget.TimeZone="DAN-2:13"
Well I tried both, but the minutes are NOT taken care of, i.e.
- changing the timezone to india (5:30 offset), the offset is just 5 hours.
- changing the timezone to the example above "DAN-2:13", the offset is 2 hours to UTC.
Checked this by running this VI on the RT-Target:
Is it a bug of a feature?
Jens
Kudos are welcome...