On Tue, May 25, 2010 at 10:44 AM, rjtp <[email protected]> wrote: > The code for which i am getting error Invalid date mask. (mask=mmmm > d, 'yy, specified format=mmmm d, 'yy) is as follows >
Sorry, I should have specified I just wanted to see the line that was erroring out as opposed to seeing only the error message. So it's this line: #DateFormat(usr_created, "mmmm d, 'yy")# That single quote before yy is what's throwing it off because if that's removed it works. If this code runs OK on Adobe CF we'll want to take a look at it. Can you add a ticket for us? http://code.google.com/p/openbluedragon/issues/entry Just provide a simple example like: The following code throws an invalid date mask error on OpenBD but works on Adobe CF 7: <cfoutput>#DateFormat(Now(), "mmmm d 'yy")#</cfoutput> And a brief explanation: The reason for the invalid date mask error is the single quote before the yy in the mask. Thanks! -- Matthew Woodward [email protected] http://blog.mattwoodward.com identi.ca/Twitter: @mpwoodward Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments. http://www.gnu.org/philosophy/no-word-attachments.html -- Open BlueDragon Public Mailing List http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon mailing list - http://groups.google.com/group/openbd?hl=en !! save a network - please trim replies before posting !!
