Your MajestyY
BuildShip2y 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() type of the editor set to Javascript.
Was this page helpful?