Function: toTimestamp()
Source: 1.5.1 · 62c6f4e2b7f2
ts
function toTimestamp(date?, timezone?): number;Defined in: packages/valaxy/shared/utils/date.ts:148
Convert a post date value to epoch milliseconds, interpreting offset-free date-time strings in timezone when specified.
Parameters
date?
string | number | Date
timezone?
string
Returns
number