Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6976729
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:32:05+00:00 2026-05-27T17:32:05+00:00

I am configuring my UILocalNotification to use the default timezone i.e. the one in

  • 0

I am configuring my UILocalNotification to use the default timezone i.e. the one in settings of the iPhone i.e. the time that appears on the iPhone’s clock however it keeps using greenwich time. Any ideas?

//This method gets called every time the user changes the event date:

- (void)rescheduleNotification {
    [[UIApplication sharedApplication] cancelAllLocalNotifications];

    //create new one using interval
    UILocalNotification *localNotification = [[UILocalNotification alloc]init];

    localNotification.timeZone = [NSTimeZone defaultTimeZone];
    localNotification.fireDate = [self.currentSetting.lessonStartDate dateWithOffsetMinutes:[self.currentSetting.lessonRemindMinutes intValue]];

    NSLog(@"locationNotificated scheduled for %@", localNotification.fireDate);

    localNotification.repeatInterval = NSWeekCalendarUnit;
    localNotification.alertAction = nil;
    localNotification.alertBody = @"due to begin shortly";
    localNotification.hasAction = YES;
    localNotification.soundName = UILocalNotificationDefaultSoundName;


    [[UIApplication sharedApplication] scheduleLocalNotification:localNotification];

    [localNotification release];

}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:32:06+00:00Added an answer on May 27, 2026 at 5:32 pm

    All NSDate objects when they are printen will use GMT.

    So you NSLog statement will always display something with the +0000 timezone.

    Example:

    if you set the date to 15:00 and your time zone is +0500 then when you print the date it will say: 10:00 since the offset is +0500

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Configuring the PHP debuggers was so hard that I can't even imagine myself using
When configuring nginx with a site that has ssl, the examples I find online
A common mistake when configuring the compilation/linking/etc. settings in VC++ 2008 is to set
In Android documentation describing Configuring General Window Properties , it is suggested that specifying
i am creating and Configuring the Struts for the first time, when I place
After configuring my iPhone app for unit testing, I belatedly noticed this warning in
I'm configuring my build server using TeamCity with Mercurial and I don't know what
i'm having troubles configuring the autocomplete module of JQuery-UI. I need that when the
I'm configuring and testing spring security 3.1.0. I have a user that has ROLE_COMPANY_OWNER.
I am configuring JUnit in Ant so that unit tests will be run on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.