Now

Return the current date and time.

Syntax
      Now

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

Examples

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 © 1999-2024 SS64.com
Some rights reserved