MCQOPTIONS
Saved Bookmarks
| 1. |
To create an object and set the date to JULY 28, 2018, which one of the following statement should be executed? |
| A. | $date = DateTime( 28 JULY 2018 ) |
| B. | $date = new DateTime( 28 JULY 2018 ) |
| C. | $date = Date( 28 JULY 2018 ) |
| D. | $date = new Date( JULY 28 2018 ) |
| E. | None of these |
| Answer» C. $date = Date( 28 JULY 2018 ) | |