Date range

Formats starting and ending timestamps into human readable date range. The output can be further customized with a format string.
Default
Jan 1, 2019 - Jan 2, 2019
Jan 1, 2019 (Similar start and end dates)
Formatted
01 Jan, 12:00 AM - 02 Jan, 5:00 AM
Transform
Arguments
dateStartMs : number
dateEndMs : number
format ?: string
Return type
string
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.