in reply to one liner diff between HH military times
(or something similar based on your actual, unprovided inputs).perl -e 'print( ($ARGV[1] - $ARGV[0] + 4) % 24 <= 8, "\n")'
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: one liner diff between HH military times
by dirtdog (Monk) on Dec 16, 2013 at 20:45 UTC | |
by Cristoforo (Curate) on Dec 16, 2013 at 21:49 UTC |