For the time zone see this URL: https://garygregory.wordpress.com/2013/06/18/what-are-the-java-timezone-ids/ as stated in the documentation of the Java action.
And Date is the date string so something like 14-7-2023
Pattern then would be dd-MM-yyyy see also the provided URL over parse and format date function calls.
Regards,
Ronald
Hi Sayyad , it depends on your need . I advise you to go through this documentation https://docs.mendix.com/refguide/parse-and-format-date-function-calls/