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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

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

Hrishab108
8-Gravel

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

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:Hrishab108)

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
PaiChung
22-Sapphire I
(To:Hrishab108)

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:Hrishab108)

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.

Top Tags