Computing the sending date with timezone | Community
Skip to main content
Level 2
Nov 29, 2024 8:52 AM UTC
Solved

Computing the sending date with timezone

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SatheeskannaK
SatheeskannaKAccepted solution
Level 1
Jan 22, 2025 7:42 PM UTC

@tabea1 I believe both should work. Try something along these lines,

 

Thanks, Sathees

1 reply

SatheeskannaK
SatheeskannaKAccepted solution
Level 1
Jan 22, 2025 7:42 PM UTC

@tabea1 I believe both should work. Try something along these lines,

 

Translate
Thanks, Sathees