How to create an NSString from an NSDate

NSDate *date = [NSDate date]; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc]init]; [dateFormatter setDateStyle:NSDateFormatterLongStyle]; [dateFormatter setTimeStyle:NSDateFormatterLongStyle]; NSString *dateString = [dateFormatter stringFromDate:date]; First we’ll create a date object. Next we’ll create an NSDateFormatter and set how we’d like for display our date (and optionally our time). Then we’ll call the magical stringFromDate method which will create our string.

Where is the recurring payments dashboard in PayPal

I keep forgetting where to find what used to be known as the Recurring Payments Dashboard in PayPal. They’ve removed this when they restructured their menus a while back, and since then I’m lost when I need to find and change a subscription payment that’s coming in. This option is now hidden in something rather … Read more