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 6635573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T23:04:18+00:00 2026-05-25T23:04:18+00:00

all I’m new to ios programming. I want to set CST in the method

  • 0

all

I’m new to ios programming.
I want to set CST in the method

[dateFormatter setTimeZone:]

I have created a sample project to get all known timezones
Code is here:

NSArray *timeZoneNames = [NSTimeZone knownTimeZoneNames];

for (NSTimeZone *timezon in timeZoneNames) {

    NSLog(@"%@",timezon);
}

It gives the following result:

[Session started at 2011-09-28 09:50:28 +0530.]
2011-09-28 09:50:29.535 Timezonetest[10352:207] Africa/Abidjan

2011-09-28 09:50:29.537 Timezonetest[10352:207] Africa/Accra

2011-09-28 09:50:29.537 Timezonetest[10352:207] Africa/Addis_Ababa

2011-09-28 09:50:29.538 Timezonetest[10352:207] Africa/Algiers

……………………

……………………

……………………

……………………

2011-09-28 09:50:29.765 Timezonetest[10352:207] Pacific/Pago_Pago

2011-09-28 09:50:29.766 Timezonetest[10352:207] Pacific/Palau

2011-09-28 09:50:29.766 Timezonetest[10352:207] Pacific/Pitcairn

2011-09-28 09:50:29.767 Timezonetest[10352:207] Pacific/Pohnpei

2011-09-28 09:50:29.768 Timezonetest[10352:207] Pacific/Ponape

2011-09-28 09:50:29.769 Timezonetest[10352:207] Pacific/Port_Moresby

2011-09-28 09:50:29.773 Timezonetest[10352:207] Pacific/Rarotonga

2011-09-28 09:50:29.775 Timezonetest[10352:207] Pacific/Saipan

2011-09-28 09:50:29.775 Timezonetest[10352:207] Pacific/Tahiti

2011-09-28 09:50:29.776 Timezonetest[10352:207] Pacific/Tarawa

2011-09-28 09:50:29.776 Timezonetest[10352:207] Pacific/Tongatapu

2011-09-28 09:50:29.777 Timezonetest[10352:207] Pacific/Truk

2011-09-28 09:50:29.778 Timezonetest[10352:207] Pacific/Wake

2011-09-28 09:50:29.778 Timezonetest[10352:207] Pacific/Wallis

Anyone can say which is the name for CST(central Standard timezone) in the above list
Thanks in Advance

  • 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-25T23:04:19+00:00Added an answer on May 25, 2026 at 11:04 pm
    try this by first method u got all time zone after that wat u want u set by key value.
    
    NSLog(@"%@",[NSTimeZone abbreviationDictionary]);
    
    [dateFormater setTimeZone:[NSTimeZone timeZoneWithAbbreviation:@"CST"]];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
All I want is to make a simple user password login. I have put
All, In Apple's sample code DateCell http://developer.apple.com/library/ios/#samplecode/DateCell/Introduction/Intro.html the ivar pickerView is declared in MyTableViewController.h
All is in the question. I have an image saved in database in an
All the recent VisualSVN Server posts made me want to check it out. I
All I want is to be able to change the color of a bullet
All I want is to update an ListViewItem's text whithout seeing any flickering. This
All too often I want a WPF slider that behaves like the System.Windows.Forms.TrackBar of
All, I have some script tags that are not working in Wordpress. If I
All, Say I have the following bit of code: select: function(start, end, allDay) {

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.