Discussion Forum : Php Date And Timestamp
Question - To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?
Options:
A .  $date = DateTime(“22 JUNE 2013”)
B .  $date = new Date(“JUNE 22 2013”)
C .  $date = Date(“22 JUNE 2013”)
D .  $date = new DateTime(“22 JUNE 2013”)
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *