You are not logged in.

#1 2015-02-28 09:51:47

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
Website

Instantiating a date in JavaScript

Question:
Which of the ways below is incorrect of instantiating a date?

Option A):
new Date(seconds)
Option B):
new Date()
Option C):
new Date(year, month, day, hours, minutes, seconds, milliseconds)
Option D):
new Date(dateString)

Correct Answer is Option A):
new Date(seconds)


Failure is the first step towards seccess.

2015-02-28 09:51:47

Advertisement
Ads By Google

Re: Instantiating a date in JavaScript



\n

Board footer