cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

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

Hrishabh.Sharma
12-Amethyst

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

 

 

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

2 REPLIES 2

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.

DanZ
15-Moonstone
(To:Hrishabh.Sharma)

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.

Announcements


Top Tags