I have two time values ββper page:
8:00 22:30
I need to subtract 8 from 22:30 and get 14:30.
Is there a direct way to do this in jQuery? Plugins are ok if needed.
Update : The second number is the total, so it could be something like
48:45
Everything that I subtract from it should simply subtract the value from it as a total, and not perform calculations related to the date.
Jason source share