TimeZone Parameter (Connect-AlloyDB Cmdlet)
Notifies the server about the timezone on the client with a standard SET TIMEZONE query when a connection is being opened.
Syntax
Connect-AlloyDB -TimeZone string
Data Type
cstr
Default Value
""
Remarks
The server stores time with timezone and timestamp with timezone in UTC. When the server is accepting a value without timezone specified explicitly, it uses the TimeZone for the respective adjustment to UTC.
If the TimeZone property is not set, the provider uses the client's local timezone. Setting this property can be useful when you need the server to convert to a specific timezone, which is different from the client's local timezone.