×

Format Date

iOS 14 +

Notes

Formats the given date.

Syntax

formatDate(date: <#String (Allows Variables)#>, dStyle: <#Enumeration (WFDateFormatStyle)#>, tStyle: <#Enumeration (WFTimeFormatStyle)#>, custom: <#String (Allows Variables)#>, isoTime: <#Boolean#>)

Example

formatDate(date: "10/20/30", dStyle: Short, tStyle: None, custom: "", isoTime: false)