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

Date Function

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

Syntax:


Date[$][()]

Example:


Sub ExampleDate
    MsgBox "The date is " & Date
End Sub