Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

day name of first day of the month

Status
Not open for further replies.

cfprg

Programmer
Apr 14, 2004
38
US
Hi Guys,

what is the function for getting name of the first day of the month..

for example 1st of july is Thursday..how to get this thursday name using some function.

Thanks..
 
#DayOfWeekAsString(DayOfWeek(FirstDayOfMonth(Now())))#

right out of the docs

rudy
SQL Consulting
 
cfprg, the function is FirstDayOfMonth

Code:
<cfoutput>The first day of the current month is #FirstDayOfMonth(Now())# of the year</cfoutput>

Hope this helps


____________________________________
Just Imagine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top