|Usage||Creates a new date object holding its creation time|
This is the primary method to create date objects in TMLScript.
For backward compatibility there still is a method "createDate()" available on TMLContext whose use is discouraged since OpenWGA 5.3.
includeMillis (Boolean, default true): Controls if the date/time value should contain millisecond values. If false the millisecond value will always be 0 and the precision ends on seconds level.
A new Date object
|Allowed in script types||