Now

Return the current date and time.

Syntax
      Now

The Now() function may be used in VBA or in an SQL query.

Example

dim dtmCreated
dtmCreated = Now

“Beauty is Nature's coin, must not be hoarded, but must be current” ~ John Milton

Related:

DatePart - Return part of a given date.
Date - The current date.


© Copyright SS64.com 1999-2013
Some rights reserved