EnderUNIX Team.


EnderUNIX tips

Mail to My Friend , Home Page

[ Shell Scripting ]

"Using Date" - ATILIM BOY - (2003-12-16 13:23:33)   [6700]

#!/bin/sh

Yesterday=`TZ=EST+24 date +%Y-%m-%d`
echo "Yesterday : " $Yesterday

Today=`date +%Y-%m-%d`
echo "Today : " $Today

Tomorrow=`TZ=EST-24 date +%Y-%m-%d`
echo "Tomorrow : " $Tomorrow



Mail to My Friend , Home Page