Sx9Jy‖Converting Time Values

SdvsV‖The following functions convert time values to calculable numbers.

DSaiz‖Hour Function

AEpQ4‖Returns the hour from a time value that is generated by the TimeSerial or the TimeValue function.

rcDDE‖Minute Function (BASIC)

8nzwM‖Returns the minute of the hour that corresponds to the serial time value that is generated by the TimeSerial or the TimeValue function.

F2F8f‖Second Function

7idcY‖Returns an integer that represents the seconds of the serial time number that is generated by the TimeSerial or the TimeValue function.

JavZH‖TimeSerial Function

6jATi‖Calculates a serial time value for the specified hour, minute, and second parameters that are passed as numeric value. You can then use this value to calculate the difference between times.

FfEgo‖TimeValue Function

F7fEy‖Calculates a serial time value from the specified hour, minute, and second - parameters passed as strings - that represents the time in a single numeric value. This value can be used to calculate the difference between times.

JgHk8‖CDateToUnoTime Function

6QMEs‖Returns the time part of the date as a UNO com.sun.star.util.Time struct.

vkoBM‖CDateFromUnoTime Function

QfMkH‖Converts a UNO com.sun.star.util.Time struct to a Date value.

DNRMR‖CDateToUnoDateTime Function

aJkaU‖Returns the time part of the date as a UNO com.sun.star.util.DateTime struct.

fAjNB‖CDateFromUnoDateTime Function

GgYqn‖Converts a UNO com.sun.star.util.DateTime struct to a Date value.