BuildShipBBuildShip
Powered by
Your MajestyY
BuildShip•2y ago•
10 replies
Your Majesty

how to save Current timestamp in firebase create document node

Sorry if this is a dumb question but how do you save the current timestamp to a firebase document with a data type as “timestamp”

Eg.
{
“createdAt”: “currentTimestamp”

}
Solution
Hi @Your Majesty, you just require to use
new Date()
new Date()
type of the editor set to Javascript.
Jump to solution
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to set document reference in Firebase Node
Md RashedMMd Rashed / ❓・buildship-help
2y ago
Create Document node not working
InterlooperIInterlooper / ❓・buildship-help
3y ago
How to construct Firebase document array of document references?
Karol GostKKarol Gost / ❓・buildship-help
15mo ago
Save document reference in another document.
o_mt.Oo_mt. / ❓・buildship-help
3y ago