Set the short date using a epoch time Returns: None

Return TypeFunction nameArguments
voidhzSDate::SetByEpoch(uint32_t,)

Declared in file: hzDate.h
Defined in file : hzDate.cpp

Function Logic:

0:START 1:pt t items 2: No text

Function body:

void hzSDate::SetByEpoch (uint32_t nEpochTime)
{
   //  Set the short date using a epoch time
   //  
   //  Arguments: 1) nEpochTime Epoch time
   //  Returns: None
   time_t      pt ;    //  Recepticle for system time
   struct tm*  t ;     //  Converted system time
   pt = nEpochTime ;
   t = localtime(&pt) ;
   _daysfromdate(m_days, t->tm_year + 1900,t->tm_mon+1,t->tm_mday);
}