To Create An Object And Set The Date To June 22 2013 Which One #180
To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?
This multiple choice question (MCQ) is related to the book/course gs gs107 PHP: Hypertext Preprocessor. It can also be found in gs gs107 PHP File and Session Handling - PHP Date and Timestamp - Quiz No.1.
To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?
$date = Date(“22 JUNE 2013”)
$date = new Date(“JUNE 22 2013”)
$date = DateTime(“22 JUNE 2013”)
$date = new DateTime(“22 JUNE 2013”)