Now
Overview
Returns the current date and time values from the system by default. If you add the optional Boolean true value, this function will return the original time of a send or activity from the applicable context, such as a message send or a landing page rendering.Syntax
Now(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | Boolean | Indicates whether to return the original time of send or activity. A value of true returns the original time. A value of false returns the current system date and time. |
Example
<script runat="server">
var time = Platform.Function.Now();
</script>