- see footer for list info -<
Hi and thanks for the reply.

Yes I am aware of the fact that the date is set to null by the param and that "" is not a valid date.
Its strange though that if I revert back to the original code that used dateformatwith mm/dd/yyyy it al works fine. I am trying to change the date to uk dd/mm/yyyy hence the lsdateformat.


What I want to know is how to achieve this .... Why does it work with dateformat and not lsdateformat?

Regards - Paul


From: "Stephen Moretti (cfmaster)" <[EMAIL PROTECTED]>
Reply-To: Coldfusion Development <[EMAIL PROTECTED]>
To: Coldfusion Development <[EMAIL PROTECTED]>
Subject: Re: [CF-Dev] Calendar Application.
Date: Mon, 01 Nov 2004 16:40:26 +0000

- see footer for list info -<
Paul Swingewood wrote:

- see footer for list info -<


<cfparam name="Request.EndDateTime" default="" />

[snip]

lsDateFormat(Request.EndDateTime, "dd/mm/yyyy")

The first parameter of lsDateFormat requires a valid date. NULL or "" is not a valid date.


Stephen

_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<


_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to