How to create a type definition for an array of objects without using any[]?
I am using the date-fns
library to get the months between a couple of date values using the eachMonthOfInterval
function, like so:
How to parse timezone date
I have the following date string: 2022-03-21 00:00:00.0 CET
Date-fns: how to parse timezone date
I have the following date string: 2022-03-21 00:00:00.0 CET