Skip to content

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.)

基于 GNU PSPP 2.0.1 手册与入门教程整理