[Top][All Lists]

[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

Do You Yahoo!?
Find a job, post your resume.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]