PSX_LOCALTIME

Convert the value returned by PSX_TIME to individual local time values

Description:

Convert the value returned by PSX_TIME into a set of usable numbers expressed in local time, and a pointer to the corresponding C structure.

Invocation

CALL PSX_LOCALTIME( NTICKS, SECS, MINS, HOURS, DAY, MONTH, YEAR,
: WDAY, YDAY, ISDST, TSTRCT, STATUS )

Arguments

NTICKS = INTEGER (Given)
The number of ticks since the start of the calendar.
SECS = INTEGER (Returned)
The number of seconds in the current time.
MINS = INTEGER (Returned)
The number of minutes in the current time.
HOURS = INTEGER (Returned)
The number of hours in the current time.
DAY = INTEGER (Returned)
The number of the day of the month.
MONTH = INTEGER (Returned)
The number of the month in the year.
YEAR = INTEGER (Returned)
The number of the years since 1900.
WDAY = INTEGER (Returned)
The number of the day in the week.
YDAY = INTEGER (Returned)
The number of the day in the year.
ISDST = INTEGER (Returned)
Daylight savings time flag.
TSTRCT = POINTER (Returned)
A pointer to the C time structure.
STATUS = INTEGER (Given)
The global status.

Notes:

External Routines Used

cnf: cnfFptr, cnfMalloc

References

Copyright

Copyright (C) 1991 Science & Engineering Research Council