Sep 14, 2020 12:17 PM
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.
Nov 20, 2022 12:07 PM
The new Date() object is not getting today’s date unfortuantely
Nov 20, 2022 01:19 PM
This is probably a timezone issue.
Jul 19, 2023 06:56 AM
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;
Sep 14, 2023 10:39 AM
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.