Now

Returns a date-time value. This function can return either the current system time or the time when a send or activity was initiated.

Now(1)

OrdinalTypeDescription
1BooleanIndicates whether to return the time when the send or activity that initiated this function occurred. If the value is true, the function returns the time of the send or function. If the value is false, the function returns the current system timestamp. The default value is false.

To use this function, call it with or without parameters. If you call it without providing any parameters, its value equals the current date and time.

The function outputs the current timestamp. In this example, the Platform.Response.Write automatically formats the output as an RFC 2822-compliant date-time string.