National_Instruments
200-500 · Question #244
Consider the following script: <?php echo date("M-d-Y", mktime(0, 0, 0, 12, 32, 1995)); ?> What will be the output of the above script?
The correct answer is D. Jan-01-1996. See the full explanation below for the reasoning.
Question
Consider the following script:
<?php echo date("M-d-Y", mktime(0, 0, 0, 12, 32, 1995)); ?> What will be the output of the above script?Options
- AJan-01-1995
- BFatal error
- CDate out of range error
- DJan-01-1996
How the community answered
(36 responses)- A6% (2)
- B6% (2)
- C14% (5)
- D75% (27)
Community Discussion
No community discussion yet for this question.