http://qs321.pair.com?node_id=1025969


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

Check the updated code, if you wish. It should display something for whatever 'now' time.

Replies are listed 'Best First'.
Re^4: Display tide based on time now.
by Anonymous Monk on Mar 28, 2013 at 15:44 UTC
    That's great, I just corrected I little thing here:
    my @tides = ( { time_in_seconds => 0, highlow => 'Unknown', # it was high_low time => 'Unknown', } );
    But thanks for your help. I have to do more work on that to check the dates for the next available tide and avoid printing 'Unknown'. This XML has the dates for the whole year, but this pointed me in the right direction for sure!