[thelist] A controversy about JavaScript

Peter-Paul Koch gassinaumasis at hotmail.com
Fri Mar 8 15:23:01 CST 2002


>Hello Experts,
>Being not very old in JavaScript, I have come to a controversy.
>Look at following:
>var theDate=new Date()
>var theYear=theDate.getFullYear()
>Which is well? getFullYear() || getYear()

See http://www.xs4all.nl/~ppk/js/index.html?introdate.html for an
explanation about these two methods.

ppk

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com




More information about the thelist mailing list