How do i get a type of date - Convex Community