I need to convert ControlLogix UTC time (milli-sec from 1970) to "standard" DATETIME format to send to my date base.
EXAMPLE (In DATETIME format 39993.4976972222=
"6/29/2009 11:56:41 AM ")
So how does UTC (1246291051356831) relate to
39993.4976972222 to equal "6/29/2009 11:56:41 AM "
the same Date and Time.
I need to gather the start time in my PLC because it is the start of a process and I need to log start time and length of process along with process data.
If anyone has an idea please let me know.
Thanks
EXAMPLE (In DATETIME format 39993.4976972222=
"6/29/2009 11:56:41 AM ")
So how does UTC (1246291051356831) relate to
39993.4976972222 to equal "6/29/2009 11:56:41 AM "
the same Date and Time.
I need to gather the start time in my PLC because it is the start of a process and I need to log start time and length of process along with process data.
If anyone has an idea please let me know.
Thanks