How to set the default TimeZone in Clarify (Article # 186)
View products that this article applies to.
Problem:
By default Clarify will have a timezone of 'No Time Zone Specified' which is basically GMT.
fcClient uses this default timezone when users login to automatically select their timezone if they have not already specified a preference.
The fcSDK (and thus fcClient) utilizes this default timezone to set the FCApplication.ServerTimezone. All date times submitted to the system are converted from the session user's timezone to the server timezone. Thus if a user is logged into the system with their timezone set to 'Central Standard Time' and the server has 'No Time Zone Specified' (GMT), 5 hours will be added to any datetimes submitted by that user.
This solution covers how to set the Default timezone.
Resolution:
To set the default timezone via the database you need to update the is_default field of table 'table_time_zone'.
Update table_time_zone set is_default=0;
Update table_time_zone set is_default=1 where name = 'CST';
If you have any fcSDK based applications using this instance of Clarify you will need to update their Cache.
For more information about this please see the fcSDK documentation:
http://fchoice.com/user_guides/fcSDK/2.0.0/html/fcsdk_timezones.html
Resolution:
For FCClient users that do not wish to updated the database you can programatically set your servertimezone in the global.asa file.
1) Add a line to the Application_OnStart method of your global.asa file
FCApp.ServerTimeZone = 'Central Standard Time';
Applies To: