std1.0.0-beta-7 SafeC docs

std :: time

Struct std::TimeFields

#include <std/time.h> source

struct TimeFields {
    int sec;
    int min;
    int hour;
    int mday;
    int mon;
    int year;
    int wday;
    int yday;
    int isdst;
}

Broken-down calendar time (C's struct tm fields, in the same order).

Fields

§int secsource

0-60

§int minsource

0-59

§int hoursource

0-23

§int mdaysource

1-31

§int monsource

0-11

§int yearsource

years since 1900

§int wdaysource

0 = Sunday

§int ydaysource

0-365

§int isdstsource

0 daylight saving, 0 not, < 0 unknown