http://www.perlmonks.org?node_id=1025961


in reply to Re: Display tide based on time now.
in thread Display tide based on time now.

Yes it is close, but this is how your code stands:

First tide time on 2013/03/27 - 12:21 AM - The current time has to be 12:22 AM to work.
Last tide time on 2013/03/27 - 06:39 PM - The current time can not be over that.

It only works OK if its one minute after the time of the first tide time and not over the time of the last tide time.

Thanks for trying!