Toggle navigation
HOME
plus2net HOME
PHP
HTML
Python
SQL
ASP
jQuery
C
PhotoShop
JavaScript
JavaScript Home
document
window
String
Array
Date & Time
Form Validation
Event handling
Math
basic loop
Date
Submit
Login
×
Login
Username
Password
Login
Contact Us
Questions on JavaScript Date & time
19 : JavaScript date object can be used by
adding a external class
by using an API from the server
built in object available by default
Non of the above
20 : To get the month part from the date object we have to use
MonthToGet()
getMonth()
Month_get()
get_month()
21 : The output of getMonth() for the month of September is
9
8
10
Sep
22 : While using setDate function what will happen if we give a negative number
Generate an error
We will get zero as output
Date will go back starting from 1st day of present month ( minus number )
No output
23 : To get the time part of the date object we have to use
TimeString
toTimeString
convertTime
Time_part
1
Post your comments , suggestion , error , requirements etc here .
Detail
✖
We use cookies to improve your browsing experience. .
Learn more
HTML
MySQL
PHP
JavaScript
ASP
Photoshop
Articles
FORUM
.
Contact us
©
2000-2024
plus2net.com
All rights reserved worldwide
Privacy Policy
Disclaimer