AFAIK Dates and times are stored as a real number - the date is the integer portion and the time is the fractional portion. 12am would logically evaluate to 0.
> -----Original Message----- > From: Hubbard, Tom [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 23 May 2002 11:01 a.m. > To: CF-Talk > Subject: Some kind of bug? > > > This message is in MIME format. Since your mail reader does > not understand > this format, some or all of this message may not be legible. > > ------_=_NextPart_001_01C201E4.984168F0 > Content-Type: text/plain; > charset="iso-8859-1" > > Am I missing something here, or is this just a bug? The > output of this > statement is: > > EQUAL > > > > <CFIF "12:00 AM" EQ "0"> > EQUAL > <CFELSE> > NOT EQUAL > </CFIF> > > > This is on Cold Fusion 5. > > ------_=_NextPart_001_01C201E4.984168F0 > Content-Type: text/html; > charset="iso-8859-1" > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> > <HTML> > <HEAD> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; > charset=iso-8859-1"> > <META NAME="Generator" CONTENT="MS Exchange Server version > 5.5.2653.12"> > <TITLE>Some kind of bug?</TITLE> > </HEAD> > <BODY> > > <P><FONT SIZE=2>Am I missing something here, or is this just > a bug? The output of this statement is:</FONT> > </P> > > <P><FONT SIZE=2> EQUAL</FONT> > </P> > <BR> > <BR> > > <P><FONT SIZE=2><CFIF "12:00 AM" EQ > "0"></FONT> > <BR> <FONT > SIZE=2>EQUAL</FONT> > <BR><FONT SIZE=2><CFELSE></FONT> > <BR> <FONT > SIZE=2>NOT EQUAL</FONT> > <BR><FONT SIZE=2></CFIF></FONT> > </P> > <BR> > > <P><FONT SIZE=2>This is on Cold Fusion 5.</FONT> > </P> > > </BODY> > </HTML> > ------_=_NextPart_001_01C201E4.984168F0-- > 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 > ______________________________________________________________________ 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

