Now

Overview

Returns the current system date and time

Syntax

Now(1)

Function Properties

<!--complex table-->
Ordinal Type Description
1 boolean Indicates whether to retain the time of the send. A value of 1 or true retains the time, and a value of 0 or false does not retain the time.

Example

In this sample code, the variable receives the value of the current system time.

var currentTime = Now();