var d1:Date = new Date( 1970, 0 );
var d2:Date = new Date( 1970, 0 );
trace( d1.toString() == d2.toString() ); // true
trace( d1 = d2 ); // Thu Jan 1 00:00:00 GMT-0700 1970

On 3/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Don't know why I haven't come across this before, but can anyone confirm
> this for me (and maybe give an explanation)?
>
> <code>
> var d1:Date = new Date( 1970, 0 );
> var d2:Date = new Date( 1970, 0 );
> trace( d1 == d2 ); // false
> trace( d1 <= d2 ); // true
> trace( d1 >= d2 ); // TRUE?!
> </code>
>
> Umm… If something is both >= *and* <= the only possibly is that it is
> equal. So… WTF?
>
>
> dave myron
> principal, technical director
>
> contentfree
> ⊡ 206.855.5580 phone | 206.774.2767 fax
> ⊠ [EMAIL PROTECTED]
> ⊟ 337 1st ave ne. suite 100, issaquah, wa 98027
>
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to