system.date.now

Description

Returns a java.util.Date object that represents the current time according to the local system clock.

Syntax

system.date. now( )

  • Parameters

none

  • Returns

Date - A new date, set to the current date and time.

  • Scope

All

Code Examples
Code Snippet
#This example will set a calendar component to the current date and time.
event.source.parent.getComponent('Calendar').date = system.date.now()