Declaration: |
CurrentTime: TDateTime; |
Returns the current date and time as a TDateTime value. Use the function FormatDateTime to create a readable date/time string.
|
Example: |
The statement FormatDateTime ('YYYY-MMM-DD hh:mm:ss', CurrentTime) returns the current time as formatted string, for example: "2015-Nov-08 21:12:33"
|
|