LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Time stamp (http://www.linuxquestions.org/questions/linux-software-2/time-stamp-380876/)

Kalyani1 11-07-2005 02:58 PM

Time stamp
 
If u see the times exactly 1 Hour diff. We got a problem after Day
light savings.

Thanks,
kalyani


10148B 4/15/2005 11:10:56 AM PenguinPays5R20L
4f6b54465ecf675a83421dfcdef58daa
10148B 4/15/2005 12:10:56 PM
PenguinPays5R20L 4f6b54465ecf675a83421dfcdef58daa


New#This line checks the old time stamp in the database
# oldTimeStamp=`mysql -B -h de230sv001 -u ODBC --exec "select
DropDateTime from qadb.asproduced where MasterID like '$MasterID'" |
sed '/DropDateTime/d'`

oldTimeStamp=`grep "$MasterID" timefile | cut -f 2, -d ","`

newTimeStamp=`date +"%F %T" -r $gametar`

echo OLD TIME STAMP=$oldTimeStamp
echo NEW TIME STAMP=$newTimeStamp

if [ "$oldTimeStamp" = "$newTimeStamp" ]; then

echo param.sh has already been run on $game $flash
oldLocation=`grep "$MasterID" timefile | cut -f 3, -d ","`
echo OLD DROP LOCATION=$oldLocation

--


All times are GMT -5. The time now is 12:18 PM.