NSDate objects represent a single point in time.
I have a basic method which gets the current time and sets it in a string. However, how can I …
cocoa cocoa-touch nsdate nsdateformatter unix-timestampHow do I convert a UTC NSDate to local timezone NSDate in Objective C or/and Swift?
ios objective-c swift timezone nsdateI am trying to achieve a dropBox sync and need to compare the dates of two files. One is on …
iphone objective-c cocoa-touch nsdateHow to convert an NSDate into Unix timestamp? I've read many posts which do the reverse. But I'm not finding …
ios iphone nsdate unix-timestampIn objective-c, the following code results in the UTC date time information using the date API. NSDate *currentUTCDate = [NSDate date] …
ios objective-c swift nsdateHow can you determine the hour, minute and second from NSDate class in Swift 3? In Swift 2: let date = NSDate() let …
nsdate swift3I'm getting started developing for the iPhone and as such I am looking at different tutorials online as well as …
objective-c cocoa nsdateIn my application I need to get the hour and minute separately: NSString *currentHour=[string1 substringWithRange: NSMakeRange(0,2)]; int currentHourInNumber=[currentHour …
ios objective-c nsdate hourI created a method that is supposed to take in a string in "YYYY-MM-DD" form and spit out an int …
swift nsdate nscalendarAm learning swift and am struck in converting the date String to NSDate to string. Am getting the date string …
ios string swift nsdate nsdateformatter