How can I parse the correct date of datetime string having no timezone, but being of local time?
It is important that you find out the time zone offset of the date string you want to convert. The summer and winter time is considered. I have attached a small example model, where you can trace each single step. // What timzone offset has the localDateTime? set tempDateTime = localDateTime.parseDateTimeExpression(“%Y-%m-%dT%H:%M:%S”); set localDateTimeWithTimezone = concat( localDateTime, tempDateTime.printLocalDateTimeExpression(” %z”)); // Parse it again but now with timezone offset. set result = localDateTimeWithTimezone.parseDateTimeExpression(“%Y-%m-%dT%H:%M:%S %z”); The result datetime is in UTC (always), but now having the correct time (was initially local in the string).