Help Center Manage Your Account Technical

How to convert a date string to a unix timestamp and vice versa?

The Unix timestamp, also called "epoch", is the number of seconds since January 1, 1970. It is often used to store information about date/time. For your convenience, here is a simple tool written in JavaScript to convert from a timestamp to a date string and convert a date back to timestamp.

Convert a Unix Timestamp Number to a Date String

Convert a Date String back to a Unix Timestamp Number

Print Was this helpful? Yes / No

Other Articles in Technical

Solve technical issues while working within the ad server

Cannot find an answer for your question? Ask our Customer Care team

Related