M
Mathias Weyel
Hi there,
I have time-of-day spans presented as strings and want to check, if, at
a given time, I am within such a time span.
Example: Timespan-string is given as follows: "09:00 , 16:00"
A function should now return true if the current time of day is between
9:00 and 16:00 and false otherwise.
Any help is appreciated. The problem sounds trivial, yet I currently
fail to come up with a pleasant solution.
cheers,
Mathias
I have time-of-day spans presented as strings and want to check, if, at
a given time, I am within such a time span.
Example: Timespan-string is given as follows: "09:00 , 16:00"
A function should now return true if the current time of day is between
9:00 and 16:00 and false otherwise.
Any help is appreciated. The problem sounds trivial, yet I currently
fail to come up with a pleasant solution.
cheers,
Mathias