add HDateHelper

Convert from NSString <—> NSDate by using functions in <time.h> instead
of NSDateformatter that is too heavy