Hello,
Hope you’re doing good.
I’m trying using current time stamp as an _id in a collection on insertion trigger.
I’m trying to fetch current timestamp in required format,(MM-DD-YY seconds) seconds will be number of seconds in that particular day.
I tried using Date() and Date.Now() and tried referring the documentation as wellDate
But I didn’t got the desire output. My end goal is to use (MM-DD-YY seconds) seconds will be number of seconds in that particular day , as an _id on insertion trigger.
Thank you.