Declared in NSDate+HNKAdditions.h

Tasks

Class Methods

hnk_dateFromString:

+ (NSDate *)hnk_dateFromString:(NSString *)dateString
Discussion

Returns a Date object given a string representation

Parameters

dateString

String representing a date

Return Value

Date object

Declared In

NSDate+HNKAdditions.h

hnk_stringFromDate:

+ (NSString *)hnk_stringFromDate:(NSDate *)date
Discussion

Returns a string representation of a Date object

Parameters

date

Date object

Return Value

String representation of a date

Declared In

NSDate+HNKAdditions.h

hnk_stringFromDateWithYear:month:day:

+ (NSString *)hnk_stringFromDateWithYear:(int)year month:(int)month day:(int)day
Discussion

Returns a string in the YYYY-MM-DD format given year, month, and date numbers

Parameters

year

Year

month

Month

day

Day

Return Value

String in YYYY-MM-DD format

Declared In

NSDate+HNKAdditions.h