Ah yea I forgot to attach the code!
I won't use JavaScript for development, JavaScript and it's libraries should only be used to add more features to a 100% done and working, tested work. It can be turned off and users can miss out the navigation menu or a core function - like this calendar - and navigate away from the site, which we don't want to happen, obviously.
And yea, I know the date() function, didn't find what I needed.