![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| subtraction from date | MarGur | UNIX for Dummies Questions & Answers | 4 | 06-19-2007 03:00 PM |
| URGENT,URGENT- Need help tape drive installation | sriny | UNIX for Advanced & Expert Users | 3 | 11-16-2006 12:43 PM |
| date arthemetic - really urgent | ragha81 | Shell Programming and Scripting | 6 | 11-06-2006 11:38 AM |
| date problem -- URGENT | rkrgarlapati | Shell Programming and Scripting | 9 | 08-30-2006 04:00 AM |
| Date Subtraction in KSH | mharley | Shell Programming and Scripting | 3 | 03-03-2005 08:17 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
date subtraction(URGENT)
Hi all,
I need the date subtraction fuctionality using shell commands. For example: date1:Wed Apr 5 08:35:21 IST 2006 date2:Tue Apr 4 10:35:44 IST 2006 I need the date subtraction result like " 22 hours 23 seconds". Please guide me to complete this task. Can you please help me ASAP. Regards, Uday |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
same is my question...
experts pls help us.. |
|
#3
|
||||
|
||||
|
Two different users posting similar questions. Looks like homework.
|
|
#4
|
|||
|
|||
|
Hi vino,
Posts are similar but the first one was in the year "2006". This is not a home work. I am writing a unix program which will generate a report of a process.The process is having two logs the start.log(time of start of process )and the end.log(end time of the process). I want in my report to show the over all time of the process for that i will have to subtract the end time from start time. I know to fetch the data from the logs. Now i want to subtract the two dates. The datecalc is also not working as this invloves characters. Request expert help. |
|||
| Google The UNIX and Linux Forums |