10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have some test data that is seperated out into annual records, each record has a start date (COL7), an end date (COL8) and a maturity date (COL18) - What I need to do is ensure that there is one record to cover each year right up until Maturity date (COL18).
In the first group of the below... (10 Replies)
Discussion started by: Ads89
10 Replies
2. Shell Programming and Scripting
I need to use awk to return lines in multiple files that contain a date between a start date and end date. The format of the date is as seen in column 3 in the following line.
A,1458147240,Mar 30 2015 12:54:00PM,s15u4chn ,2,GPS Major Alarm `clear`,component.Channel,10,15,0,138,183,,,Mar 16... (4 Replies)
Discussion started by: randman1
4 Replies
3. Programming
Dear all,
I am kindly seeking assistance on the following issue.
I am working with data that is sampled every 0.05 hours (that is 3 minutes intervals) here is a sample data from the file
5.00000 15.5030
5.05000 15.6680
5.10000 16.0100
5.15000 16.3450
5.20000 16.7120
5.25000... (4 Replies)
Discussion started by: malandisa
4 Replies
4. Shell Programming and Scripting
Hello All,
I have two strings with date and time as follows..
$starttime= "06/11/2013 ";
$starttime= "05:15";
$enddate="06/12/2013";
$endtime="04:45";
dates are in mm/dd/yyyy format and time in military format.
and I am looking the duration of time(in minutes) in between dates.
... (3 Replies)
Discussion started by: scriptscript
3 Replies
5. Shell Programming and Scripting
Hi,
how to calculate the time difference between PST date and PDT date in perl scripting.
date1: Mon Dec 31 16:00:01 PST 2015
date2: Tue Mar 19 06:09:30 PDT 2013
and also difference between PST-PST and PDT-PDT
need difference in months or days (months prefereble). (3 Replies)
Discussion started by: praveen265
3 Replies
6. Shell Programming and Scripting
Hi Team,
I need to compare three dates and extract the greatest among them into a file.
21 Jan 2012 05:46:59,146
21 Jan 2012 02:12:30,113
17 Jan 2012 09:08:10,417
Please help regarding the same.
Thanks in advance..!!!
Please use tags where appropriate, thank you (6 Replies)
Discussion started by: jaituteja
6 Replies
7. Shell Programming and Scripting
Hi All,
I have a txt file which has hundreds of lines and 41 fields. I have a requirement to pick up field 14 from the text file which is a date fiels in the following format.
Field 14 :
Data Type : NUMERIC DATE (YYYYMMDD)
Field Length : 8
Example of Data :20090415
Field 42 :
Data Type... (2 Replies)
Discussion started by: nua7
2 Replies
8. Shell Programming and Scripting
Hi there,
I have a logfile which has the following layout:
20080812 0 20
20080812 12 10
20080812 12 10
20080812 12 10
I want to sum the "12" on the last 3 lines and save the "20" on the first line. The final output should be
20080812 36 20
I think that should me more easier with... (6 Replies)
Discussion started by: BufferExploder
6 Replies
9. HP-UX
Time Between Dates
Does anyone know how to figure out the time between two dates, by reading two log files start.log(starting time) and end.log(ending time)?
So if I have the content of
start.log as :
Mon, Feb 18, 2008 09:30:02 PM
&
end.log as:
Tue, Feb 19, 2008 01:25:14 AM
How can... (2 Replies)
Discussion started by: Sreejith_VK
2 Replies
10. Shell Programming and Scripting
Time Between Dates
Does anyone know how to figure out the time between two dates in HP-UX, by reading two log files start.log(starting time) and end.log(ending time)?
So if I have the content of
start.log as :
Mon, Feb 18, 2008 09:30:02 PM
&
end.log as:
Tue, Feb 19, 2008 01:25:14 AM
... (3 Replies)
Discussion started by: Sreejith_VK
3 Replies