-1
I need to pick two dates and time, already defined in the template like this:
<ion-datetime name="ent" [(ngModel)]="ent" displayFormat="DD MMM, HH:mm"></ion-datetime>
,
In the class I defined so:
ent:Date=new Date();
but I wonder if anyone knows a way to subtract these values so that, for example, I can see how long and days a car has been in the parking lot. Thanks in advance!
You came to see if in some of these questions there’s already something you need? :-)
– hkotsubo