Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What's the Date object using JavaScript?
What's the Date object using JavaScript?
✍: Guest
Time inside a date object is stored as milliseconds since Jan 1, 1970.
new Date(06,01,02) // produces "Fri Feb 02 1906 00:00:00 GMT-0600 (Central Standard Time)"
new Date(06,01,02).toLocaleString() // produces "Friday, February 02, 1906 00:00:00"
new Date(06,01,02) - new Date(06,01,01) // produces "86400000"
2009-03-03, 4394👍, 0💬
Popular Posts:
What are the types of variables x, y, y and u defined in the following code? #define Atype int* type...
How To Escape Special Characters in SQL statements? - MySQL FAQs - Introduction to SQL Basics There ...
How To Compile a JUnit Test Class? Compiling a JUnit test class is like compiling any other Java cla...
If we inherit a class do the private variables also get inherited ? Yes, the variables are inherited...
In which event are the controls fully loaded ? Page_load event guarantees that all controls are full...