# Timestamp to epoch millis > Supported in: Batch, Faster, Streaming Converts from timestamp in UTC to epoch milliseconds. **Expression categories:** Cast, Datetime ## Declared arguments * **Timestamp:** Timestamp to convert to epoch milliseconds.
*Expression\* **Output type:** *Long* ## Examples ### Example 1: Base case **Argument values:** * **Timestamp:** 2022-10-01T09:00:00Z **Output:** 1664614800000 *** ### Example 2: Null case **Argument values:** * **Timestamp:** *null* **Output:** *null* *** ### Example 3: Edge case **Argument values:** * **Timestamp:** 1970-01-01T00:00:01.001Z **Output:** 1001 ***