![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| subtraction from date | MarGur | UNIX for Dummies Questions & Answers | 4 | 06-19-2007 07:00 PM |
| URGENT,URGENT- Need help tape drive installation | sriny | UNIX for Advanced & Expert Users | 3 | 11-16-2006 03:43 PM |
| date arthemetic - really urgent | ragha81 | Shell Programming and Scripting | 6 | 11-06-2006 02:38 PM |
| date problem -- URGENT | rkrgarlapati | Shell Programming and Scripting | 9 | 08-30-2006 08:00 AM |
| Date Subtraction in KSH | mharley | Shell Programming and Scripting | 3 | 03-03-2005 11:17 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
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 |
|
||||
|
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. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|