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

  • Home
  • SEARCH
  • 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 8504199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:57:41+00:00 2026-06-11T01:57:41+00:00

When converting a date string for the server into a NSDate – which is

  • 0

When converting a date string for the server into a NSDate – which is in this format

2012-09-07T11:57:44+10:00

we’re using this dateFormat in NSDateFormatter

yyyy-MM-dd'T'HH:mm:ssZZZ':'mm

but the minutes are always zero minutes.

  • 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-06-11T01:57:42+00:00Added an answer on June 11, 2026 at 1:57 am

    The second “mm” overwrites the result of the first and sets minutes to zero, having parsed the “00” on the end of the timezone.

    In order to parse that format of timestamp you must first somehow remove the last : character, as NSDateFormater cannot handle that.

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

Sidebar

Related Questions

After converting a date/time character string into POSIXlt using strptime, I am left with
I have this SQL Server query which is returning Conversion failed when converting date
I am having troubles converting a short Zulu date format to a NSDate Object.
I am getting a string value such as 2012-01-20 and converting it to sql.Date
I've faced with converting Date to String by using date() function in php. Simply,
Possible Duplicate: Converting Timestamp as String to Date in android My server is returning
I am having a problem converting a date/time string to an NSDate. The date
I am facing a problem in date format. I am converting a string date(dd/MM/yyyy)
I am getting an error in converting string to date in C#. The error
I have a doubt that when I am converting a String to date then

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.