function Dateformat(Date)
{
        var mydate ="";
        mydate = mydate  & LsDateFormat(Date, "dd");
        mydate = mydate  & " de ";
        mydate = mydate  & LsDateFormat(Date, "mmmm");
        mydate = mydate  & " de ";
        mydate = mydate  & LsDateFormat(Date, "yyyyy");
        return mydate;
}


-----Original Message-----
From: Blood Python [mailto:[EMAIL PROTECTED]
Sent: 30 May 2003 19:05
To: CF-Talk
Subject: Insert character "d" in DateFormat


A tricky question here. I need to format a date like

30 de junho de 2003

I would like to have that on a single LsDateFormat expression. In CF5, i
used to do that:

LsDateFormat(Date, "dd 'de' mmmm 'de' yyyyy")

Now CFMX evaluates the first letter D of "de" to the current day,
outputting:

30 30e junho 30e 2003.

Tips?

Thank you.

BP.

Ps: again,  i could do that date part by date part, but i would like to have
it on a single expression.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to