Wednesday, 5 September 2012

For get the time zone in standard time + iPhone

-(NSString *)getStandardTimeZone{
    NSTimeZone *timeZone=[NSTimeZone defaultTimeZone];
    NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
    NSString *timeZoneId = [timeZone localizedName:NSTimeZoneNameStyleStandard locale:locale];
    return timeZoneId;
}

No comments:

Post a Comment