>- see footer for list info -<
You should use createDate(), dates held as strings are bad news

On 9/29/05, Paul Swingewood <[EMAIL PROTECTED]> wrote:
> >- see footer for list info -<
> Back to my calendar application again ....
>
> I have a variable StartDate which I know holds 29/9/05 for example .....
>
> If I run the code below all is well and {ts '2005-09-29 00:00:00'} gets
> written to the database.
> All is working fine .... UNTIL
>
> StartDate = 7/9/05
>
> Then the code decides its going to insert {ts '2005-07-09 00:00:00'}
>
> This is driving me nuts .... can anyone help me please. If I use dateformat
> will I loose the time element? - Aghhhh!
>
>
> The code (its in a <cfscript> block)
>
> // Add times to the dates and parse.
>       StartDateTime = ParseDateTime(StartDate & " " & StartTime & ":00");
>       EndDateTime = ParseDateTime(EndDate & " " & EndTime & ":00");
>
>
> Regards - Paul
>
> You can see this at www.bgfl.org/cfpages/calendar
>
>
> _______________________________________________
>
> 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 -<
>


--
Simon Baynes
www.simonbaynes.com
_______________________________________________

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