receiving string of date that looks like this "/Date(1633421520000)/"
,
with moment I could just use it as moment("/Date(1633421520000)/")
whats the equivalent for date-fns ?
for example differenceInMilliseconds
how would i use it with received argument as this string "/Date(1633421520000)/"
not sure how to create my date object from this string so ill be able to use date-fns functions.