To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?
A.$date = Date(“22 JUNE 2013”)
B.$date = new Date(“JUNE 22 2013”)
C.$date = DateTime(“22 JUNE 2013”)
D.$date = new DateTime(“22 JUNE 2013”)
Answers
Answered by
1
______✨ HEY MATE ✨______
➡️ Option (A) $date = Date(“22 JUNE 2013”) is the right answer ✔️
➡️ Option (A) $date = Date(“22 JUNE 2013”) is the right answer ✔️
Answered by
0
A.$date = Date(“22 JUNE 2013”) is your answer
Similar questions
Hindi,
7 months ago
Art,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Science,
1 year ago
English,
1 year ago
Physics,
1 year ago