Go to this page :
http://cndate.p30pedia.com/[
^]
Right click and select View page source and see what you needed.
I'm sure that you know how to reuse its functions.
Of course there are more other sites that have this script which can be found by google.
Hope it helps.