Skip to content

How to: Convert Camera Timestamp to Local Time After PTP Synchronization#

After PTP synchronization with UTC PTP grand master clock (or PTP software) your GigE camera gets a new timestamp.

This is correct because the camera is now synchronized with the PTP grand master clock (or PTP software).

The new camera time stamp value looks as follows:

1 444 444 200 000 000 000

It can be converted into local time, the "real world time".

At first you need to know that UTC starts to count the time from Thu Jan 01 1970 00:00:00 GMT+0000 (Greenwich Mean Time). At this time, the timestamp value is 0 ("origin").

The timestamp value is the difference in nanoseconds with the origin.

When we convert the above camera time stamp to "real time", we get Sat Oct 10 2015 02:30:00 GMT+0000.

Use an online converter to process this, e.g., Unix Timestamp.

Back to Knowledge Articles