I want to calculate the difference between two dates from API in hours.
I have this endpoints
challenge: [startDate: "2022-02-17T23:00:25.441",endDate: "2023-02-17T23:00:25.441",
]
and implemented there
<Image source={require('@assets/icons/time.png')} /><Text>{challenge.**DIFFRENCE BETWEEN 2 DATES**</Text>
Thank u a lot <3