The quotes work okay, with any combination other than "24" as the hour. As soon as I put 24 in, it fails.
At 10:31 PM 02/08/02 +0100, you wrote: >Try taking out the quotes, I don't think you need them. 12am is midday, 12pm >is 24:00....... > >I think :O) > >Ade > >-----Original Message----- >From: Brook Davies [mailto:[EMAIL PROTECTED]] >Sent: 02 August 2002 22:40 >To: CF-Talk >Subject: createdatetime(??) > > >When using the createdatetime() function, the format must use a 24 hour >clock right? > >I'm a wee bit confused, how do you show 12am and 12pm. Isn't 12AM 24:00 >hours?? I get an error when trying to create a 12AM time like this: > >#createdatetime("2002","8","2","24","00","00")# > >Any idea why? I'm sure I'm missing something obvious... > >Brook > > > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

