in reply to Re: current time between two time
in thread current time between two time

I think that even his example times are not in the same day. Start time 9:01PM, end time 3:30AM? Either the end time is the next day, or it falls before the start time, which doesn't make much sense.


Dave

Replies are listed 'Best First'.
Re^3: current time between two time
by Ratazong (Monsignor) on Mar 04, 2014 at 20:27 UTC

    I still like the approach to just compare minutes. If the end-time is before the start-time, you could always correct it by adding 24 hours.