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

i'm trying to use the createdatetime but get error as below.

(0) ShareShare
ReportReport
Posted on by 25

Dear experts, I tried to do as follow,

pastedimage1681287794379v1.png

 when I run in my local, the system display message as below. what is this mean and how can I solve this?

pastedimage1681287874381v2.png

I have the same question (0)
  • Verified answer
    Govinda Kumar Profile Picture
    2,304 Moderator on at

    Hi jack07,

    try formatting the date when you show it in a message box

    pastedimage1681290862250v1.png

    It is showing in my environment

    pastedimage1681290747331v2.png

    Regards

  • Suggested answer
    NAV_with_Narang Profile Picture
    2,294 Moderator on at

    What are the values in Date1, Date2 you're providing?

    Pls check FromDateTime, ToDateTime should be of data type DateTime

  • jack07 Profile Picture
    25 on at

    Thank you for replying, im not sure what is the problem because what i did was do the same code on the new page then it works.  thanks again for the help

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 3,175

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,476 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,435 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans