Help

Re: Putting Today's Date and time when making a record

10544 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Jon_Balenski
6 - Interface Innovator
6 - Interface Innovator

I was able to automatically update a record with a “need to start” status when created, but I’d also like it to automatically put today’s date in as well. I’m just not sure what I should be typing in the date field. I tried typing Today, but that didn’t work.

I’m going to admit to being a total novice here so please feel free to spell it out to me like I’m five.

13 Replies 13

The new Date() object is not getting today’s date unfortuantely

This is probably a timezone issue.

Here is a piece of code if needed : 

const today = new Date();
const yyyy = today.getFullYear();
let mm = today.getMonth() + 1; // Months start at 0!
let dd = today.getDate();
const formattedToday = dd + '/' + mm + '/' + yyyy;
Thomas_de_Beauc
6 - Interface Innovator
6 - Interface Innovator

Usually I simply get away by using the Last modified field.

In all of my use cases the record always needs to be modified to trigger the automation, so I just always have today's date in that field.