How to save Timestamp in Firebase in Appsmith app or using JSON?

I am trying to save the date/time in Firebase in timestamp format. I have referred answers from below posts.

How to get current timestamp of firebase server in milliseconds?

I have tried saving data by adding different date formats in Body but it is ultimately getting added as a string or number depending upon string or timestamp.

Does anyone have idea how to send the date to Firestore using JSON or anything using which i can directly add it to Appsmith app?

Read more here:

Content Attribution

This content was originally published by Keshav Singh at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: