Within my Meteor application, I have utilized Date.now()
to generate a timestamp for inclusion in a new MongoDB document. Although Date.now()
appears to be an appropriate choice for my app, I lack expertise in managing dates and times.
As I transition to aldeed:simple-schema
, should I adhere to using Date.now()
or convert it into a different format? When specifying the schema type, is it recommended to employ datetime
or datetime-local
?