×

Parse Date

iOS 14 +

Notes

Interpret date with custom format. A date like 12/25/2001 can be parsed with format 'MM/dd/yyyy'. This action requires GizmoPack Pro.

Syntax

parseDate(date: <#Array#>, format: <#String (Allows Variables)#>, errorIfInvalid: <#Boolean#>, locale: <#Object (DateLocale)#>)

Example

parseDate(date: January 1st 1997, format: "MM/dd/yyyy", errorIfInvalid: true, locale: DateLocale(identifier: "en", displayString: "en"))