Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
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.