Hi
We have some data that we are looking to get from the EKM servers and the data has a read sequence of 1348753764218
Can someone advise how to convert this (which we assume is something like ticks) into seconds etc.
Thanks
Time format for the push dat
Re: Time format for the push dat
Hi Meniscus!
The data code you refer to is called Unix Time.
Our EKM Push system time stamps each meter read with a Unix Time stamp (for example: <read seq='1348753764218') See EKM Push Schema for details: http://documents.ekmmetering.com/EKM_Push_Schema.pdf
Remove the last 3 digits (these are milliseconds and are not needed) to convert this number into human readable text. Command line> date -r 1348753764 converts to "Thu Mar 8 16:24:44 PST 2012" (works in some cases).
Here are some online converters:
http://www.onlineconversion.com/unix_time.htm
http://en.wikipedia.org/wiki/Unix_time
Please let me know if you have any questions.
Adam
EKM METERING
http://www.ekmmetering.com
831.425.7371
The data code you refer to is called Unix Time.
Our EKM Push system time stamps each meter read with a Unix Time stamp (for example: <read seq='1348753764218') See EKM Push Schema for details: http://documents.ekmmetering.com/EKM_Push_Schema.pdf
Remove the last 3 digits (these are milliseconds and are not needed) to convert this number into human readable text. Command line> date -r 1348753764 converts to "Thu Mar 8 16:24:44 PST 2012" (works in some cases).
Here are some online converters:
http://www.onlineconversion.com/unix_time.htm
http://en.wikipedia.org/wiki/Unix_time
Please let me know if you have any questions.
Adam
EKM METERING
http://www.ekmmetering.com
831.425.7371