Find Out How

Print Friendly Version

Construct Custom Values

The following example gets the current date and time back from JavaScript and then places that value into a Custom Property.

First, get the current date and time from JavaScript and set it into a variable called now.

var now = new Date();

Now, set a Custom Property Date Time and insert the date and time into it.



$prop.set(MessageClip, "Date Time", now);