Hi! How do i work with dates in supabase?
# help
v
Hi! How do i work with dates in supabase?
f
How do you mean? Dates in the DB are pretty straightforward — if you use the studio to add a column and make it “timestampz” type it should give an example format
v
But how do i convert it into a js date?
f
If it doesn’t already come back as a date, you should be able to just wrap it in
new Date()