> If I use this?
>
> <cfset todayDate = Now()>
> <cfset ttoday = #DateFormat(todayDate, "m/dd/yy")#>
>
> Will months with 2 digits appear with 2 digits?  IE 10/10/00?

I know this sounds a bit odd, but wouldn't 2 minutes of checking have saved
you hours of waiting for a reply from this list?

<cfoutput>
#DateFormat(CreateDate(2000,1,10),"m/dd/yyyy")#<br>
#DateFormat(CreateDate(2000,10,10),"m/dd/yyyy")#
</cfoutput>

This would have answered your question, took less than a minute to type and
less than a  second to generate the result

Or, check the documentation;
"m -- Month as digits with no leading zero for single-digit months."

It would also be a completely useless function if it chopped the month off,
wouldn't it?

One of our developers has taken to asking questions like this (instead of
reading the manuals, on-line docs or testing) and we've taken to ignoring
her questions until she realises that it's a LOT better to learn for herself
than to ask for help from others around - it means that she'll be a lot more
self-reliant when a bigger job is handed over for her to complete.

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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