[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird output from date w/ TZ
From: |
Joshua Franklin |
Subject: |
Re: weird output from date w/ TZ |
Date: |
Fri, 2 Nov 2001 12:08:33 -0800 (PST) |
> This works here, so you might try it:
>
> TOMORROW=` date -d tomorrow +%e `
> if [ "${TOMORROW}" = "1" ]; then
> echo "bingo"
> fi
>
Thanks, that GNUish option works great. I think my
problem had to do with the hardware clock being set to
UTC or local time. I'm not going to worry about it
now.
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com