tm.tm_wday

days since Sunday - [0, 6]

struct tm
int tm_wday;

Meta