web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

DateTime not respecting BST time change

(1) ShareShare
ReportReport
Posted on by
We are using the Microsoft TimeZone built-in functions to convert DateTimes in our system. We have a time on a label being printed with a conversion via a user selection. This works and respects British Summer Time change (+1 hour from UTC) when printing directly from Business Central. However, we have a Power App connection linked. When a label is printed from the Power App API, the time is not converted. The weird thing is the Power App connection is not sending back a time - this is all being set in BC upon record creation, and using the same functions to convert. We cannot figure out the cause of this happening, where it works fine in BC direct yet not from Power App API, even though both end up using the same AL codeunits to retrieve the time.
I have the same question (0)
  • Suggested answer
    Yi Yong Profile Picture
    2,594 Super User 2025 Season 2 on at
    Hello Austin,
     
    If you are using CurrentDateTime in API/webservice, it will always be set to UTC.
     
     
     
    You should convert the CurrentDateTime to the respective timezone.
     
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,116

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 764 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 635 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans