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

Google+

More on JavaScript Date & Time

Post Comment This is for short comments only. Use the forum for more discussions.




HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2017 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer