X05 Chapter Contents
X05 Chapter Introduction (PDF version)
NAG Library Manual

NAG Library Chapter Introduction

X05 – Date and Time Utilities

+ Contents

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

X05AAFreturns the current date/time in integer format.
X05ABFconverts from integer to character string date/time.
X05ACFcompares two date/time character strings.
X05BAFreturns the amount of processor time used.

4  Routines Withdrawn or Scheduled for Withdrawal

None.

X05 Chapter Contents
X05 Chapter Introduction (PDF version)
NAG Library Manual

© The Numerical Algorithms Group Ltd, Oxford, UK. 2012