tutorials on Javascript Date Objects
If you have had any experince of working with the date object in javascript you will know it is particularly bad at this task, however its not so much that its bad, more that there is a lack of resource on the subject. If you were looking for explanations on a language like PHP you can go to php.net which is a definitive guide on the subject, but javascript has nothing like this, and relies on you trawling through forums which tell you everything except what you want to know on the subject. However fear not as I have put together some resources, which may help you do whatever you want to do with dates in javascirpt.
The chances are you want to do something specific with a date, for info on date formats check out Date Funcitons on matt kruse’s website, hes got some pretty nifty tools to help understand javascript expected date format cunnundrum. But the basic concept to remember when you want to do anything with a date, is that it must be in a correct date format for javascirpt to recognise it. Once you have this, thats half the battle, from then on you can do whatever you would like with it.
One of the great features of the jquery is its capacity for plugins. If you have jquery installed already, you should definatly try out jquery.date.js This is a powerful tool for doing everything and anything to date objects, the code itself explains how the code can be applied.
Of course if what you are looking for is far less complicated, it is always worth checking out tizag, for a comprehensive guide to the date object()
Hopefully these resources will prove useful resources in helping you do what you want with date objects.











Talk to me