I want to replace string to date&time format but unfortunately I have dates like “2020-05-25 01:02:13” and “2020-05-25 01:02” is there any option to add zero at the end to have “2020-05-25 01:02”:00 ?
In String to DateTime node seconds and milliseconds by default are in square brackets. That means they are optional and format cuts what is optional. At the same time if brackets are not specified it could be possible to keep zeros.
You need to remove :ss square brackets
[ ] .
This will indicate that :ss is not an optional but necessary part.
Hi there @pjacob,
if I got you right you should use square brackets around :ss to indicate this part is optional while converting to Date&Time format.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.