Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

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

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

  • jack07 Profile Picture
    jack07 25 on at
    RE: i'm trying to use the createdatetime but get error as below.

    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

  • Suggested answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    RE: i'm trying to use the createdatetime but get error as below.

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

    Pls check FromDateTime, ToDateTime should be of data type DateTime

  • Verified answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,203 Super User 2024 Season 1 on at
    RE: i'm trying to use the createdatetime but get error as below.

    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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans