ZealOS/Demo/DateTime.HC
2020-02-15 14:01:48 -06:00

11 lines
257 B
HolyC
Executable file

"\n\n%D %T\n\n\n",Now,Now;
CDateStruct ds;
Date2Struct(&ds,Now+local_time_offset);
"Hour:%02d Minute:%02d Second:%02d\n\n\n",ds.hour,ds.min,ds.sec;
"Day Name:%03tZ\n\n\n",ds.day_of_week,"ST_DAYS_OF_WEEK";
"Month Name:%03tZ\n\n\n",ds.mon-1,"ST_MONTHS";