Next: , Previous: Time Construction, Up: Time and Date


7.7.8.3 Functions that Examine Times

These functions take numeric arguments in pspp time format and give numeric results.

— Function: CTIME.DAYS (time)

Results in the number of days and fractional days in time.

— Function: CTIME.HOURS (time)

Results in the number of hours and fractional hours in time.

— Function: CTIME.MINUTES (time)

Results in the number of minutes and fractional minutes in time.

— Function: CTIME.SECONDS (time)

Results in the number of seconds and fractional seconds in time. (CTIME.SECONDS does nothing; CTIME.SECONDS(x) is equivalent to x.)