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

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

SOLVED
InfinityX
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

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

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

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

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?

 

 

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

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

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.