function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

SF Button: How to insert Today()

I want my button to default todays date in a date field


When I do





Nothing is populated.


Please let me know what I need to do.


Thank you in advance


Best Answer chosen by Admin (Salesforce Developers) 

This is the formula for a button I created in one of my dev environements that is working.  It creates a new account and inserts today's date into a date field.




Hopefully this helps... though you might be past this step already.