12-11-2012 09:03 PM - edited 12-12-2012 06:11 AM
I'm trying to get current timezone from device.
I found in documentation that they are in CalendarSettings class (method currentSystemTimezone()) and CalendarSettings should be retrieved vie settings method in CalendarService. I cannot found any sample how to do this, looked in calendar sample, even modify it to get timezone, but without success.
Anyone knows working sample for this?
Solved! Go to Solution.
12-12-2012 01:23 PM
var date = new Date; var gmtMinutesOfset = date.getTimezoneOffset();
01-06-2013 05:37 AM
I'm trying to get an instance of
CalendarService (to check 12/24 hour clock setting), but can't:
undefined reference to `bb::pim::calendar::CalendarSettings::~CalendarSet
I've tried a variety of ways of getting a
CalendarService and calling
settings() on it, but it all boils down to the above or variants of it.