Get Current Time Zone
You can define and store a time zone for your project from the General settings in the console, overriding the default time zone set based on the data center you access. This time zone you set will be applied across all services, components and features of the project. However, you can still define individual time zones for certain components.
Catalyst enables you to fetch the current time zone active for your project. You can fetch the current time zone defined for your project in the console using the getCurrentTimeZone() method as shown in the syntax below.
copypublic func getCurrentTimeZone( completion : @escaping ( Result<TimeZone, ZCatalystError> ) ->Void )
Last Updated 2023-09-03 01:06:41 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit