View Single Post
Old 11-24-2005, 07:26 PM   PM User | #21
PhotoJoe47
Regular Coder

 
Join Date: Oct 2005
Location: Arizona
Posts: 336
Thanks: 0
Thanked 0 Times in 0 Posts
PhotoJoe47 is an unknown quantity at this point
Hi Kor,

It seems a lot of people are working the date object these days.

I still have a hard time understanding the conditional statement. So once again would you mind explainging this line of code?

dif=((tm<inp[0])||(tm==Number(inp[0])&&td<Number(inp[1])))?dif-1:dif;

I have not seen the Number() function before, what is it's syntax?
__________________
"Wish You Enough"

PhotoJoe
Check out my website site

Last edited by PhotoJoe47; 11-24-2005 at 07:50 PM..
PhotoJoe47 is offline   Reply With Quote