AnsweredAssumed Answered

Which format to use for setting Pi Vision start-/endtime URL parameters?

Question asked by Roger Palmen on Jan 29, 2019
Latest reply on Apr 15, 2019 by Roger Palmen

Hi all,

I've been playing along with AF and PI Vision (all current versions) where in AF i create a display URL to call a PI Vision display. The clients however can have various regional settings, therefore the format of the timestamp should work in any setting.

My first idea was: ISO8601. The AF Formula DR does allow to format a date using the .NET format specifier, and for ISO8601 this is "o" (Format('ChartStarttime', "o"); should work but this does NOT and this creates huge formatted strings, e.g.: 2019-01-11T05:00:00.0000000+01:00

I did try other formats that should work, like "u", but they cause PIVision to throw internal server errors (in this case only an error when the starttime is specified, to add to the buggy situation, endtime works fine).


Does anybody know a shorter format that works reliably?