Skip to main content
13-Aquamarine
Jun 20, 2023 6:49 AM UTC
Solved

how to print till 6th digit millisecond in thingworx in datetime output?

Hrishab108_0-1687243455263.png

Just like this;
2023-05-22  23:08:20:123421

 

 

PaiChungAnswer
22-Sapphire I
Jun 20, 2023 3:59 PM UTC

You may have to cast it to string, I don't remember a date/time format in any of the widgets that would do it.

2 replies

PaiChung22-Sapphire IAnswer
22-Sapphire I
Jun 20, 2023 3:59 PM UTC

You may have to cast it to string, I don't remember a date/time format in any of the widgets that would do it.

Translate
15-Moonstone
Jun 21, 2023 10:56 AM UTC

As @PaiChung said, you would have to parse this timestamp as a string and add the extra digits yourself.
However, if you do this from a date object, these additional digits will always be 0. Thingworx does not support a higher time resolution.

Translate