--- 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](ignition-modules\vision\vision-project-properties\vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.date.now()` ### Parameters Nothing ### Returns **Date** - A new date, set to the current date and time. ### Scope Gateway, Vision Client, Perspective Session ## Code Examples ```python title="Code Snippet" # This example will set a calendar component to the current date and time. event.source.parent.getComponent('Calendar').date = system.date.now() ```