next up previous 216
Next: PSX_TTYNAME - Get the name of the terminal
Up: Routine Descriptions
Previous: PSX_SRAND - Set the seed for the random number generator


PSX_TIME - Get the current calendar time

Description:
Determine the current calendar time. The encoding of the value is unspecified, but is the number of ticks since some date in the past. If it is not possible to get the value of NTICKS, STATUS is set to PSX__NOTIM and an error is reported.

Invocation:
CALL PSX_TIME( NTICKS, STATUS )

Arguments:

NTICKS = INTEGER (Returned)
The current time.
STATUS = INTEGER (Given and Returned)
The global status.

Notes:

References

Copyright
Copyright (C) 1991 Science & Engineering Research Council


next up previous 216
Next: PSX_TTYNAME - Get the name of the terminal
Up: Routine Descriptions
Previous: PSX_SRAND - Set the seed for the random number generator

PSX POSIX interface routines
Starlink User Note 121
P M Allan
A J Chipperfield
10 April 2003
E-mail:ussc@star.rl.ac.uk

Copyright © 2000 Council for the Central Laboratory of the Research Councils