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

ClassDescription
datetimeCurrent 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.

Links for reference

Copyright © Cooker All rights reserved.