View Single Post
Posts: 669 | Thanked: 433 times | Joined on May 2010
#7
Originally Posted by ZedThou View Post
Code:
hr=`date +%H`
if test $hr -ge 16 -a $hr -lt 18
then
# do something here
fi
Thanks - works great, but how can i add support for an exact hour with minutes - something like between 16:30 - 18:30?

Is there a place where it is explained how to manipulate this data?