/* Get the real time Note that this function is valid only if  */
void DateTime_get(Ifx_DateTime *dt)
/* Get the real time Note that this function is valid only if  */
void DateTime_get(Ifx_DateTime *dt)
{
    sint32 seconds = (sint32)(now() / TimeConst_1s);
    seconds     = seconds + g_DateTimeOffset;
    dt->hours   = seconds / 3600;
    dt->minutes = seconds / 60;
    dt->minutes = dt->minutes % 60;
    dt->seconds = seconds % 60;
}