Hi, I receive a String format date (via an API) in format dd-mm-ccyy, which I want to convert to a regular datetime format. I do that with the code: parseDateTime($IteratorSetlist/EventDate, 'dd-MM-yyyy') but the output is always one day behind of the inputstring? Many thanks, Max
asked
Max Luinge
1 answers
3
You should probably read this FAQ, specifically, the part about non-localized dates. In your domain model, if only the date part is relevant, set Localize to No. Then, use the parseDateTimeUTC() function.