Computing the sending date with timezone | Community
Skip to main content
Level 2
November 29, 2024
Solved

Computing the sending date with timezone

  • November 29, 2024
  • 1 reply
  • 649 views

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.
Best answer by SatheeskannaK

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

1 reply

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
January 22, 2025

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

Thanks, Sathees