This should work for you..

<cfset x=CreateDateTime(2002,8,02,0,15,00)>

Hour =0-23 format. ie (08/02/2002 12.15am)..

Joe

----- Original Message -----
From: "Brook Davies" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, August 02, 2002 5:40 PM
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
>
>
> 
______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to