Date Type
Date is represented as milliseconds since EPOC (Equipment Point of Connection). Creating a date object with no parameter gives the current time:
var now = new Date();
A date can be converted to a string using a global function, formatDate().
str = formatDate(now, 'yyyy-MM-dd'); // 2002-02-21
The date format uses the same syntax as in java.text.SimpleDateFormat.
| << String Type | © 1996-2013 InetSoft Technology Corporation (v11.4) | Arrays >> |