5 years ago in PHP Date and Time

How many constants does the DateTime class have in php 5.6?

[A] 8
[B] 9
[C] 10
[D] 11
Loading...
Next Question

Overall Stats

Attempted 31
Correct 4
Incorrect 16
Viewed 11

Answers

Guest
Guest
Dhanashri Bhuyar
Dhanashri Bhuyar - 1 month ago

Dhanashri Bhuyar from Mumbai, India is saying 10 is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying 11 is correct answer

nikita pawar
nikita pawar - 9 months ago

nikita pawar from Pune, India is saying 8 is correct answer

ayush
ayush - 1 year ago

ayush from Mumbai, India is saying 9 is correct answer

preeti
preeti - 2 years ago

preeti from Kolkata, India is saying 9 is correct answer

Related Questions

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

The getdate() function returns

  • [A] An integer
  • [B] A floating-point number
  • [C] An array
  • [D] A string
  • [E] A Boolean

What is the difference, in seconds, between the current timestamp in the GMT time zone and the current timestamp in your local time zone?

  • [A] It depends on the number of hours between the local time zone and GMT
  • [B] There is no difference
  • [C] The two will only match if the local time zone is GMT
  • [D] The two will never match
  • [E] None of the above