12.
How many constants does the DateTime class have?

13.
Which method is simply an object-oriented version of date()?

14.
Which of the following is the right way to use the DateTime class?

15.
What will be the output of the following PHP code if date is 24/02/2008?
<?php
$date = new DateTime();
echo $date->format('l,F,js,Y')
?>

16.
Which of the following statements can be used to set the time zone in individual scripts?

17.
Among the four PHP DateTimeZone classes given below how many are static? 1. listAbbreviations() 2. getName() 3. getOffset() 4. listIdentifiers()

18.
Among the four PHP DateTimeZone classes given below how many are nonstatic? 1. _construct() 2. getName() 3. getOffset() 4. getTransitions()

19.
Which of the following statements can be used to add two months to the existing date?

20.
Which method enables you to calculate whether daylight saving time is in force at a specific date and time?