datetime class : Now getter
Description
Gets a datetime type instance that represents the current date and time in local time.
Syntax
datetimeInstance.Now
Arguments
None
Return value
Class | Description |
datetime | Current date and time in local time. |
Sample code
1: | datetime dt; |
2: | dt = dt.Now; |
Notes
It's a wrapper of the System.DateTime.Now property.