web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,696 Moderator on at
    RE: Extracting Date form DateTime data type

    Hi,

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

    pastedimage1671029616133v1.png

  • Verified answer
    YUN ZHU Profile Picture
    93,438 Super User 2025 Season 2 on at
    RE: Extracting Date form DateTime data type

    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
    RE: Extracting Date form DateTime data type

    Thank ZHU, issue resolved

  • Muhammad Anas Naeemi Profile Picture
    390 on at
    RE: Extracting Date form DateTime data type

    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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Sumit Singh Profile Picture

Sumit Singh 2,204

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 1,933

#3
YUN ZHU Profile Picture

YUN ZHU 1,885 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans