Typing DateTimes
can I save strings like "2023-09-10 18:16:00" as
createdAt
and updatedAt
?5 Replies
or what format should a Date have?
Date should have
Date
classcan't I use simple "string"-dates ?
nope
no but you can use
new Date(your_string)
to convert them![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1132316196956545276/image.png)