hi,
I have three variables
- string openTime format hh:mm - eg "08:30"
- string closeTime format hh:mm eg "17:30"
- float lunchHours eg 1.5
Are there any js functions I can use to calculate how many hours the shop is open ?
thanks
I have three variables
- string openTime format hh:mm - eg "08:30"
- string closeTime format hh:mm eg "17:30"
- float lunchHours eg 1.5
Are there any js functions I can use to calculate how many hours the shop is open ?
thanks
Comment