Skip to main content

Now function

Table of contents
  1. Syntax
  2. Example

Returns a Variant (Date) specifying the current date and time according to your computer's system date and time.




This example uses the Now function to return the current system date and time.

Dim Today
Today = Now    ' Assign current system date and time.

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>