Computer and Internet » Programming » Javascript
ID #1003
Javascript Date Function
Attention. When you want to set the Month of an Javascript Date Object you have to take an Integer between 0 and 11 and not between 1 to 12 as everybody would think.
call:
var test = new Date();
test.setMonth(0)
for setting January.
Theres a pretty good class which extends the Javascript Date Class.
The Javascript date extras files adds more functionality to the Date Class esspecially for working with Timespans.
Tags: -
Related entries:
- Right Character Encoding with CakePHP and Dojo Toolkit
- Populate SELECT Tag with Dojo and CakePHP
- How can i set Aptana to correctly highlight my .thtml templates from CakePHP
- How do I ensure that my Win CE application is running only in one single instance?
- How can I search a directory recursive and delete some files in it?
Last update: 2006-09-27 19:15
Author: Christian Trummer
Revision: 1.0
You cannot comment on this entry