I need to get the current NSDate.date and remove the time zone and parse it as a GMT date
NSDate.date
returns 2012-10-11 11:27:09 -0700
What I need is this: 2012-10-11 11:27:09 +0000
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
NSDate.date returns a date with the current date and time stored as GMT.
If you want to format the date as a string and show the GMT time, you should use a NSDateFormatter and set the locale to GMT: