Parse date

A value resolver which converts an input text into a date with time. The format pattern as well as the time zone can be specified (also via value resolver).
If the format contains a time zone information, it will be converted to the specified time zone, otherwise the read date will be interpreted in the given time zone.

The format pattern literals are the same as in the Format date resolver.

Examples

Input value

Format pattern

Time zone

Output as date with time

2019-05-29 21:34

yyyy-MM-dd HH:mm

America/New_York

29/05/2019 21:34 America/New_York

2019-05-29 21:34 America/New_York

yyyy-MM-dd HH:mm z

Europe/Berlin

29/05/2019 03:34 Europe/Berlin

2019-05-29 21:34 America/New_York

yyyy-MM-dd HH:mm z


29/05/2019 21:34 America/New_York

2019-05-29 21:34

yyyy-MM-dd HH:mm


29/05/2019 21:34 Default time zone

2019-05-29T21:34:20.981

yyyy-MM-dd'T'HH:mm:ss.SSS


29.05.2019 21:34:20 981 milliseconds default time zone

2019-05-29T21:34:20.981+0:00

yyyy-MM-dd'T'HH:mm:ss.SSSZ


29.05.2019 21:34:20 981 milliseconds GMT