Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

System Date and Time

The following functions and statements set or return the system date and time.

Date Function

Returns the current system date as a string, or date variant.

Now Function

Returns the current system date and time as a Date value.

Time Function

This function returns the current system time as a string in the format "HH:MM:SS".

Timer Function

Returns a value that specifies the number of seconds that have elapsed since midnight.