Determines the day value from the passed date and returns the name of the day as a character string.
JSV_cDOW(expD [, abbreviate])
expD.cDOW([abbreviate])
The function cDOW returns a character string that contains the name of the day specified in expD.
The cDOW function uses the following arguments.
Argument | Description |
expD | A date object. |
abbreviate | Optional. Boolean value that indicates whether the returned character string is the full name (e.g., Saturday) or as an abbreviated name (e.g., Sat). Default value is false. |
n/a
n/a
The following lines of code
var today = new Date();
document.write( "Today is " + JSV_cDOW(today).bold() );
produce
Copyright © 1998-2000 Roaring Fork Software. All rights reserved.