Skip to content

filmjbrandon/objc-humanreadable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

HumanReadable

Objective-C Class with utility functions for "human readable" numbers and dates. Sample:

NSDate *myDate = [NSDate date];
NSDateFormatter *fmt = [[NSDateFormatter alloc] init];
fmt setDateFormat:@"yyyy-MM-DD"];
myDate = [fmt dateFromString:@"2012-07-26"];

NSLog(@"%@",[NHHumanReadable relativeHumanReadableDate:myDate]);
// will print something like... "5 days ago" or "1 month, 5 days ago", or "Wednesday 5:12PM", etc.

About

Objective-C Class with utility functions for "human readable" numbers and dates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published