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

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

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

InfinityX
14-Alexandrite

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.

1 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
13-Aquamarine
(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

Top Tags