Date time getting wrong part

Hey team.

have a bunch of date, and using the Parse Date activity. but for some reason when i try to output it, instead of outputting dd/mm/yy, it is finding the day, then the minute value and then the year. eg:
Parse date output: 01/08/2019 00:23:17
Variable to string Output: 01/23/19

WTFudge is the 23 from the MINUTE vaule doing there in the MONTH field?
Can’t figure what im doing wrong.

The Parse date:
parse.pdf (8.0 KB)

The assign BDate =
bdate.pdf (3.9 KB)


Hi Try the below

Use HH for 24 hour hours format:

Datevariable.ToString(“yyyy-MM-dd HH:mm:ss”)

Or the tt format specifier for the AM/PM part:

DateVariable.ToString(“yyyy-MM-dd hh:mm:ss tt”)

It’s Monday…Im all sorts of special today.

mm VS MM

Yeah, i know…special :slight_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.