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...
Answered

Extracting Date form DateTime data type

(0) ShareShare
ReportReport
Posted on by 390

Hello everyone, 

I have a custom field with datatype 'Date'. I have also used this field in reporting. The issue that I am facing is that when I'm previewing the report, time is also  being displayed along with the Date. I just want the date to be printed. Below are the images of the word layout and document that was previewed. Kindly help.

pastedimage1671029187753v1.png

pastedimage1671029248906v2.png

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Hi,

    Right click on Date field > Text Box Properties and choose what format you want

    pastedimage1671029616133v1.png

  • Verified answer
    YUN ZHU Profile Picture
    95,748 Super User 2025 Season 2 on at

    Hi, This looks like a Word Layout, as far as I know it is difficult to modify the date format in Word Layout.

    pastedimage1671065760963v1.png

    So you can convert to the format you need, and output it on the page.

    Standard Date Formats:

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-format-property#standard-date-formats

    And, Date, Time, DataTime Conversions:

    https://yzhums.com/22928/

    Hope this helps.

    Thanks.

    ZHU

  • Muhammad Anas Naeemi Profile Picture
    390 on at

    Thank ZHU, issue resolved

  • Muhammad Anas Naeemi Profile Picture
    390 on at

    It is not working as it is word layout and not RDLC layout. But thanks for the answer.

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,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans