Formatting date_of_birth as MM-DD-YYYY
What's the best way of doing this?
date_of_birth: varchar("date_of_birth", { length: 10 }).notNull()
That's what I have so far, but I need it to be MM-DD-YYYY. It needs to be this way because of the API I need to sync with.
0 Replies