Expand my Community achievements bar.

Computing the sending date with timezone

Avatar

Level 2

Hello,

I am following this tutorial, but come to the conclusion that even though the tutorial shows segmentation with timezone set to CET (UTC+01), it sends the communication at UTC, so one hour later than expected.
The documentation shows that ToDateTime does *not* take timezones into account, for that one needs to use ToDateTimeWithTimezone. How does the string need to look? ToDateTimeWithTimezone("2024-11-29 09:45:00+01"), as by ISO-standard or ToDateTimeWithTimezone("2024-11-29 09:45:00", "Europe/Stockholm") as by the description in the documentation?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies