Mengonversi Nilai Waktu

Fungsi-fungsi berikut mengonversi nilai waktu ke angka yang dapat dihitung.

Fungsi Jam

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

Fungsi Menit

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

Fungsi Detik

Mengembalikan integer yang mewakili detik dari nomor waktu seri yang dihasilkan oleh fungsi TimeSerial atau TimeValue.

TimeSerial Function

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.

TimeValue Function

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.

CDateToUnoTime Function

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

CDateFromUnoTime Function

Mengubah UNO com.sun.star.util.Time struct ke nilai Date.

CDateToUnoDateTime Function

Mengubah UNO com.sun.star.util.Time struct ke nilai Date.

CDateFromUnoDateTime Function

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