Just in case the abbreviation does not change: TIME1=$(date +%H%M) TIME2=$(date -d week +%H%M) TIME3=$(date +%H%M) if [ $TIME1 != $TIME2 -a $TIME3 != $TIME2 ] then echo clocks change next week fi -- Foreca Ltd Jaakko.Hyvatti at foreca.com Keilaranta 1, FI-02150 Espoo, Finland http://www.foreca.com