--- title: "system.date.now" description: "Returns a java.util.Date object that represents the current time according to the local system clock." --- # system.date.now > Returns a java.util.Date object that represents the current time according to the local system clock. This function is used in **Python Scripting**. ## Description ## Client Permission Restrictions This scripting function has no [Client Permission](projects\project-properties\project-properties.md#client---permissions) restrictions. ## Syntax `system.date.now()` ### Parameters None ### Returns **Date** - A new date, set to the current date and time. ### Scope All ## Code Examples ```python title="Example #1" # This example will set a calendar component to the current date and time. event.source.parent.getComponent('Calendar').date = system.date.now() ```