NAG Library Chapter Introduction
X05 – Date and Time Utilities
1 Scope of the Chapter
This chapter provides routines to obtain the current real time, and the amount of processor time used.
2 Background to the Problems
2.1 Real Time
Routines are provided to obtain the current time in two different formats, and to compare two such times.
2.2 Processor Time
A routine is provided to return the current amount of processor time used. This allows the timing of a particular routine or section of code.
3 Recommendations on Choice and Use of Available Routines
|returns the current date/time in integer format.
|converts from integer to character string date/time.
|compares two date/time character strings.
|returns the amount of processor time used.
4 Routines Withdrawn or Scheduled for Withdrawal