integer timestamp error

hey guys im trying to insert start_dtime and end_dtime fields as integers. im trying the attached code. but i run into this error.
Types of property 'start_dtime' are incompatible.
Type 'number' is not assignable to type 'SQL<unknown> | Placeholder<string, any> | Date | null | undefined'.
i have attached both my schema and the code.
can someone help me with this.
Screenshot_2024-01-08_at_9.25.24_AM.png
Screenshot_2024-01-08_at_9.25.11_AM.png
Was this page helpful?