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 :
Microsoft Dynamics CRM (Archived)

Date field with today's date

(0) ShareShare
ReportReport
Posted on by

Hello,

I would like to have a field that will display the current date at any given time, effectively the same as having the TODAY() function in Excel. Is there a way to do that without script?

Many thanks,

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Date field with today's date

    It will show date only when user saves record. For first time opening form it will be blank as calculated column only will process formulae on button click(save).

    Is there any way it will show today's date even for opening form first time. 

  • Community Member Profile Picture
    on at
    RE: Date field with today's date

    It will show date only when user saves record. For first time opening form it will be blank as calculated column only will process formulae on button click(save).

  • Sirodjon Profile Picture
    82 on at
    RE: Date field with today's date

    Hi Paul, i tried this but I keep getting an error on Form load - settodaysdate is undefined at Eval

  • Dik Van Vliet Profile Picture
    10 on at
    RE: Date field with today's date

    =NOW()

  • Suggested answer
    CRM Trickey Profile Picture
    on at
    RE: Date field with today's date

    I'd just set the date to be the ModifiedOn using a Set Value Action. Since the Business Rule will be invoked manually this worked in my scenario.

  • Community Member Profile Picture
    on at
    RE: Date field with today's date

    Thank you Paul Really Helpful!

  • empath-e CRM Profile Picture
    1,136 on at
    RE: Date field with today's date

    Just hit upon this myself and this solution worked well for me. Thanks Sean Kelly.

  • iruser2 Profile Picture
    2,048 on at
    RE: Date field with today's date

    i'd love to find a way to have a date field on a form that automatically populates with todays date (and can still be changed by the user) without having to save in order to trigger a work flow.  The original question does CRM have the equivalent of excel

    =TODAY()

    that it can automatically populate onto a form without saving, just be there as the form opens?

    thanks!

  • Firearm Profile Picture
    on at
    RE: Date field with today's date

    Where Sean's answer will do what you need it to, it will not however display a date on the form while creating.  The calculated field will not calculate until after saving.  That goes for workflows as well.  The run "Before" option is disabled in real-time workflow.

    2_2D00_13_2D00_2017-12_2D00_52_2D00_48-PM.png

  • Suggested answer
    Daniel at VNS Profile Picture
    on at
    RE: Date field with today's date

    Thank you PaulShore - THIS is what i was looking for!

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans