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

  • Verified answer
    Govinda Kumar Profile Picture
    2,310 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,410 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

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 554 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 360 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 201 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans