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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Getting the issue to Convert epoch to human-readable date and vice versa format

InfinityX
15-Moonstone

Getting the issue to Convert epoch to human-readable date and vice versa format

In thingworx foundation getting the issue to Convert epoch to human-readable date and vice versa format from timed value and how to convert data in CSV file.

ACCEPTED SOLUTION

Accepted Solutions

Hello,

 

This post might help.

 

Once you get your Date object, you can convert it to string either on the server side (see dateFormat snippet) or on the client side just by displaying your DATETIME values in mashups (widgets like Grid, Value Display, Date/time picker and the like allow you to specify date/time format).

 

/ Constantine

View solution in original post

2 REPLIES 2
ckaminski
14-Alexandrite
(To:InfinityX)

Could you elaborate more on how you wish to use the converted values?  are you trying to display dates in a mashup?

 

Thingworx has tools to convert CSV data to other formats, how do you wish to use the CSV data?  Where is the data coming from?  Device or user via upload?

 

 

Hello,

 

This post might help.

 

Once you get your Date object, you can convert it to string either on the server side (see dateFormat snippet) or on the client side just by displaying your DATETIME values in mashups (widgets like Grid, Value Display, Date/time picker and the like allow you to specify date/time format).

 

/ Constantine

Announcements


Top Tags