Home Notices Documents Classes Download Others Rice
Classes  >  datetime  >  Now
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 © Rice All rights reserved.