I'm trying to set up the current time of a process but I just want to set up the day not the time/seconds like Tue, 28 Sep 2021.
I know 2 ways of doing dates and that would be:
new Date().toTimezoneString()
and firebase.firestore.FieldValue.serverTimestamp()
both of them includes time though.
and I know that if I set up Date()
alone it store the data as a date format instead of a string.
Extra: can it be set up in other languages as well ?