This might be subjective, I don't know. However, it's a serious problem for me. My electrical bill is outrageous. It's three times as large as my next-door neighbor, and four or five times the size of my neighbor's across the street. It's worse in the summer (I live in central TX), but I've had the air conditioner inspected, and while the house is right at the maximum capacity for our unit, the unit should still be able to take care of the load. That also doesn't explain why our winter bills are larger than the comparables.

What I would like to do is check the amount of current drawn by each running appliance and calculate where all my money is going. I just don't know how to go about doing this.


Question: Converting string to NSDate
Answer: You're attempting to use a 24-hour format for the hours and an AM/PM indicator, and that just won't work. Change your line:

[dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm a"];


to this:

[dateFormatter setDateFormat:@"yyyy-MM-dd hh:mm a"];


and you'll find that your code now works.