LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-07-2005, 02:58 PM   #1
Kalyani1
Member
 
Registered: Oct 2005
Posts: 43

Rep: Reputation: 15
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

--
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
set up the Time stamp Kalyani1 Linux - Software 3 11-06-2005 02:36 PM
time stamp for file modification youngstorm Linux - Newbie 2 11-01-2005 03:46 PM
search based on time stamp ? massai Linux - Newbie 1 03-07-2004 02:50 PM
Time stamp in Samba is 11 hours behind time stamp in Linux Linh Linux - General 3 09-04-2003 12:44 PM
Remove files by time stamp evione Linux - Newbie 1 07-15-2003 09:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration