Return Type | Function name | Arguments |
---|---|---|
void | hzSDate::SetByEpoch | (unsigned int,) |
Declared in file: hzDate.h
Defined in file : hzDate.cpp
Function Logic:
Function body:
void hzSDate::SetByEpoch (unsigned int nEpochTime) { time_t pt ; struct tm* t ; pt = nEpochTime ; t = localtime(&pt) ; _daysfromdate(m_days, t->tm_year + 1900,t->tm_mon+1,t->tm_mday); }