setTimeZone
void session.setTimeZone ( String timeZone )
void session.setTimeZone ( TimeZone timeZone )
Description
Sets the time zone that will be used when using a method that returns a time formatted as a string.
Parameters
- timeZone The new timezone to use. If null is given, the local timezone will be used.
Return Value
This method returns void.
Change Log
Version |
Description |
5.5.29a |
Available in all editions. |
Examples
Set the time zone
session.setTimeZone("America/Denver");