Examveda
Examveda

What would happen if the following script were run on a Windows server set to Moscow, Russia’s time zone?
<?php
echo gmmktime(0, 0, 0, 1, 1, 1970);
?>

A. It would output the number 0

B. It would output the number -1

C. It would output the number 1

D. It would raise an error

E. It would output nothing

Answer: Option B


This Question Belongs to PHP >> Date And Timestamp

Join The Discussion

Related Questions on Date and Timestamp