01-29-2013
With millisecond resolution?
10 More Discussions You Might Find Interesting
1. 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
2. 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
3. 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
4. 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
5. 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
6. 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
7. 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
8. 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
9. 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
10. 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
LEARN ABOUT DEBIAN
qwtsystemclock
QwtSystemClock(3) Qwt User's Guide QwtSystemClock(3)
NAME
QwtSystemClock -
QwtSystemClock provides high resolution clock time functions.
SYNOPSIS
#include <qwt_system_clock.h>
Public Member Functions
QwtSystemClock ()
virtual ~QwtSystemClock ()
bool isNull () const
void start ()
double restart ()
double elapsed () const
Static Public Member Functions
static double precision ()
Detailed Description
QwtSystemClock provides high resolution clock time functions.
Sometimes the resolution offered by QTime ( millisecond ) is not accurate enough for implementing time measurements ( f.e. sampling ).
QwtSystemClock offers a subset of the QTime functionality using higher resolution timers ( if possible ).
Precision and time intervals are multiples of milliseconds (ms).
Note:
The implementation uses high-resolution performance counter on Windows, mach_absolute_time() on the Mac or POSIX timers on other
systems. If none is available it falls back on QTimer.
Constructor & Destructor Documentation
QwtSystemClock::QwtSystemClock ()
Constructs a null clock object.
QwtSystemClock::~QwtSystemClock () [virtual]
Destructor.
Member Function Documentation
double QwtSystemClock::elapsed () const Returns:
Number of milliseconds that have elapsed since the last time start() or restart() was called or 0.0 for null clocks.
bool QwtSystemClock::isNull () const Returns:
true if the clock has never been started.
double QwtSystemClock::precision () [static] Returns:
Accuracy of the system clock in milliseconds.
double QwtSystemClock::restart () The start time to the current time and return the time, that is elapsed since the previous start time.
void QwtSystemClock::start () Sets the start time to the current time.
Author
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Version 6.0.0 Fri Apr 15 2011 QwtSystemClock(3)