I have tried that , that is why the date is displaying with the month as
OCT, however the date value I am using is 10-1-07 yet it outputs it as
1-Oct-07
 
 <cfset payment_from_date="10-01-07">
#dateformat(payment_from_date, 'dd-mmm-yy')#   outputs the date as 1-Oct-07
rather than 10-Jan-07
 
 
 
 
 

 

 

 

Kind Regards

Claude Raiola
B.Econ(Acc.); B.Hotel Mngt.
Mobile: 0414 228 948
Phone: 07 5538 5961
Fax: 07 3319 6444

Websites: 
 <http://www.websitesolutions.com.au/> www.WebsiteSolutions.com.au
 <http://www.australianaccommodation.com/> www.AustralianAccommodation.com
 <http://www.accommodationnewzealand.com/> www.AccommodationNewZealand.com
 <http://www.hospitalitypurchasing.net/> www.HospitalityPurchasing.net
 <http://www.samaris.net/> www.Samaris.net

 

  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Adam Chapman
Sent: Monday, 29 January 2007 7:23 AM
To: [email protected]
Subject: [cfaussie] Re: working with dates in CF



Hi Claude,

 

Try dateformat(lsParseDateTime(payment_date), "dd-mmm-yy")

 

Cheers,

Adam

 

  _____  

From: claude raiola [mailto:[EMAIL PROTECTED] 
Sent: Monday, 29 January 2007 12:52 AM
To: [email protected]; [email protected]
Subject: [cfaussie] working with dates in CF

 

hi al

 

I have the following date that I need to specify in my code   <cfset
payment_from_date="10-01-07">

however I cannot seem to display it in correct date format using the
dateformat function it keeps returning 1-oct-07 when I am using
dateformat(payment_date, dd-mmm-yy)

 

I look forward to your advice

 

seem to find date display / manipulation a real pain in the butt to get the
correct format

 

 

 

 

Kind Regards

Claude Raiola
B.Econ(Acc.); B.Hotel Mngt.
Mobile: 0414 228 948
Phone: 07 5538 5961
Fax: 07 3319 6444

Websites: 
 <http://www.websitesolutions.com.au/> www.WebsiteSolutions.com.au
 <http://www.australianaccommodation.com/> www.AustralianAccommodation.com
 <http://www.accommodationnewzealand.com/> www.AccommodationNewZealand.com
 <http://www.hospitalitypurchasing.net/> www.HospitalityPurchasing.net
 <http://www.samaris.net/> www.Samaris.net

 









--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to