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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Calculate duraion between two dateTime fields in BC Report

(0) ShareShare
ReportReport
Posted on by 154

Hello Experts,

I want to calculate diff b/w two DateTime field in Business Central AL report. 

I have added two fields in the table Purchase receipt and warehouse line.

Val1: DateTime= 01/07/2021 03:55 AM

Val2 DateTime: = 01/07/2021 03:56 AM

Val 3: Val2-Val1 

Now i wanted to substract these two fields in separate column in report but it doesn't give correct result.  

Any suggestions will be highly appreciated.

Thanks.

Nia

  • Suggested answer
    MahGah Profile Picture
    15,613 on at

    Hi

    I am sure developer in this page will provide a better answer. But for now can you take a peak at the following post?

    community.dynamics.com/.../385712

  • raelhefn Profile Picture
    Microsoft Employee on at

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 645 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 432 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 248 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans