![]() |
|
No such thing as a small change | |
PerlMonks |
Re^4: Display tide based on time now.by Anonymous Monk |
on Mar 27, 2013 at 14:16 UTC ( #1025723=note: print w/replies, xml ) | Need Help?? |
Here is what I am trying to accomplish: There are 4 tides in the XML, sometimes 3 but the goal is: if time now in seconds is greater and equal to the first tide time in the XML, and the now in seconds is less than the second tide time in the XML print the first tide specs. if time now in seconds is greater and equal to the second tide time in the XML, and the now in seconds is less than the third tide time in the XML, print the second tide specs. if time now in seconds is greater and equal to the third tide time in the XML, and the now in seconds is less than the fourth tide time in the XML, print the third tide specs. if time now in seconds is greater and equal to the fourth tide time in the XML, and the now in seconds is less than the first tide time in the XML, print the fourth tide specs. I hope is clear, but thanks for trying!
In Section
Seekers of Perl Wisdom
|
|