- Documentation
- Activities
- Date & Time
- Parse date
Convert a text string to a date object
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
Date Text dateText | expression | Required | — | — |
Input Format inputFormat | enum | Optional | auto | —autoyyyy-MM-ddMM/dd/yyyydd/MM/yyyyyyyy-MM-dd HH:mm:ssMM/dd/yyyy HH:mm:ssdd/MM/yyyy HH:mm:ssISO 8601custom |
Custom Format customFormat | string | Optional | — | — Shown when field = inputFormat, equals = custom |
Output Variable outputVariable | variable | Optional | ParsedDate | — |
Output
$outputVariableDateTimeParsed date object
dateTimeDateTimeisoStringtimestampNumbercomponents.yearNumbercomponents.monthNumbercomponents.dayNumbercomponents.hourNumbercomponents.minuteNumbercomponents.secondNumber
Compatibility
WindowsLinuxAttendedUnattended
Related activities
Add to datetime
Add days, months, or years to a date
Compare dates
Compare two dates to check if one is before, after, or equal to another
Convert timezone
Convert a date/time from one timezone to another
Format date
Convert a date to a formatted text string
Get current date and time
Get today's date and the current time
Get date part
Extract a specific part from a date (year, month, day, etc.)