Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Adding/subtracting one time from another?

Author
Message
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 25th Jun 2019 20:54
Has anyone got a function they are willing to share to add or subtract one time from another?
For example 12:30 + 1h45m = 15:15
Or
12:30 - 1h45m = 10:45

I could write it myself and will if nobody wants to share but I’m just trying not to reinvent the wheel.

Thanks ?
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire

Login to post a reply

Server time is: 2024-11-19 00:19:03
Your offset time is: 2024-11-19 00:19:03