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!

extracting a date

Status
Not open for further replies.

daNewfie

Programmer
Joined
Oct 14, 2004
Messages
258
Location
CA
I have a value in a database of

06/27/2006

how can I display it like

Tuesday, June 27, 2006


Craig
 
Try this:
Code:
<cfset dte=Now()>
<cfoutput>
	#DateFormat(dte,"dddd")#, #DateFormat(dte,"mmmm")# #DateFormat(dte,'dd')#, #DateFormat(dte,'yyyy')#
</cfoutput>
 
Or This:

Code:
<cfset dte=Now()>
<cfoutput>
   #DateFormat(dte,"dddd, mmmm dd, yyyy")#
</cfoutput>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top