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.
Solved! Go to Solution.
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
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