Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Formatted date not showing up

Hi guys, I need help on the formatted date topic in the blog reader app. My problem is that I am doing exactly as taught by Amit. in the following video: http://teamtreehouse.com/library/build-a-blog-reader-iphone-app-2/adapting-data-for-display/formatting-dates-with-nsdateformatter-2

My problem is that the date other wise is showing up but when i call the formattedDate method , the date is not showing up instead the (null) is appearing. Otherwise the app is working fine. Please help......

3 Answers

I figured it out... The code works fine.... But Thanks anyways....

Hi Rashu-

I'm having the same issue, how did you fix this?

Asked too soon- found my issue. I had my input date format string as @"yyyy-MM-dd HH:MM:SS". The correct string format is @"yyyy-MM-dd HH:mm:ss".