Skip to content

toDate

toDate(string) → date · Date & Time

Convert a string to a date. Alias for parseDate with single argument (ISO 8601 auto-detection).

  • string (required): date string in ISO format
utlx
toDate("2026-05-01")                     // date value

Released under AGPL-3.0.