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?

https://www.reddit.com/r/Firebase/comments/n32ys2/how_can_i_save_the_values_in_the_datepicker_as/

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: https://stackoverflow.com/questions/68328008/how-to-save-timestamp-in-firebase-in-appsmith-app-or-using-json

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: