Skip to main content

Time from text

Convert a text to a time object.

The input must match one of the following formats exactly; any other input fails the step (InvalidTimeFormat). Fractional seconds are not supported.

FormatExample
%H:%M:%S14:30:12
%H:%M14:30
%I:%M:%S %p02:30:12 PM
%I:%M %p02:30 PM

Input

Textrequired
The text to convert to a time object.

Output

Time
The time object.