WYRDTEK Home Features Reference Downloads About


Reference/es_date_getdow

Syntax

unsigned es_date_getdow( unsigned dateid );

Arguments

unsigned dateid Date-id.

Description

Return day-of-week corresponding to input date-id date-id. Day-of-week is represented by an unsigned integer in the range 0..6, where 0 corresponds to sunday and 6 corresponds to saturday. The following constants are also available:

ES_DATE_SUNDAY0
ES_DATE_MONDAY1
ES_DATE_TUESDAY2
ES_DAYE_WEDNESDAY3
ES_DATE_THURSDAY4
ES_DATE_FRIDAY5
ES_DATE_SATURDAY6

[Back To Reference] [Back To Reference/es_date]