Hello
How can I use firestore functions Like Timestamp.now() or FieldValue.arrayUnion(1)?
Best Aron
Hello
How can I use firestore functions Like Timestamp.now() or FieldValue.arrayUnion(1)?
Best Aron
Did you ever find an answer to this question?
Hi @aron.suarez @wes
You can store Firestore Timestamps just by passing a valid ISO date string to Firestore like
{“createdAt”:“2023-05-13T16:34:56.800Z”}
and it should be stored in Firestore as a timestamp data type.
Our platform includes a convenient inbuilt function called TODAY() that allows you to retrieve the current timestamp in a valid ISO date string. You can utilize this function within the “Custom Formula” section of any control or in the “Compute” on-screen action if you’re working within an action flow.
For additional information on our functions, check out this helpful article: Important Functions.
I hope this helps.