Syntax
const char *CDoW( int date );
Arguments
date Date encoded as the integer YYYYMMDD, for example 20261201.
Return value
The English weekday name, or an empty string for a nonpositive date.
Description
Use the English weekday name as a label in a screen or report. `CDoW()` uses `DoW()` to find the weekday and returns a read-only string. An empty date gives an empty string.
Example
#include "xdev-wtui.h"
#include <stdio.h>
int main( void )
{
puts( CDoW( 19901010 ) );
return 0;
}