I have a date value from backend formatted date1 =
{
"date": "2021-11-05 14:07:25.000000",
"timezone_type": 3,
"timezone": "Europe/Istanbul"
}
I want to calculate time from now with new Date() like new Date() - date1 but .getTime() or any other methods does not work with date object "date1". I tried to get date1.date but it is not allowed. So I could not find a way to solve that.