This function returns 6 for me:
<cfset myday = #Dayofweek(Now())#>

<cfoutput>#myday#</cfoutput>

Try checking the DATE on the server.

----- Original Message -----
From: "David E. Crawford" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, May 12, 2000 11:01 AM
Subject: DayofWeek()


> I am apparently having problems with the Dayofweek function.  According to
> the language reference manual, it returns the ordinal of the week, as an
> integer, ranging from 1 (Sunday) to 7 (Saturday).  By my calculations,
> Friday should return 6.  Today I am doing some testing and I am getting 4
> back from this function call:  dayofweek(now()).
>
> Am I losing my mind, or is there an error in the documentation?  I have
> tried this on 2 CF servers with the same result.
>
> Dave
>
>
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to