Return, as an integer (with 1 = SUN, 2 = MON, ..., and 7 = SAT), the day (of the week) of the date value indicated by the specified year, month, and day. The behavior is undefined unless true == isValidYearMonthDay(year, month, day).

Synopsis

Declared in <bdlt_posixdateimputil.h>

static
int
ymdToDayOfWeek(
    int year,
    int month,
    int day);

Created with MrDocs