Php Objective Questions with Answers for written test exams 34

Question 34
Internally PHP handles dates and times as

A. A ‘date array’ array consisting of the year, month, day, hour, minute, and

second.

B. A UNIX time stamp representing the number of seconds since the UNIX

epoch.

C. An ISO-8601 date entity.

D. A UNIX time stamp consisting of the number of microseconds since the

UNIX epoch.
Answers 34


The correct answer is B. PHP stores all its dates internally as UNIX time stamps,

which are defined as the number of seconds since the UNIX epoch, January 1,

1970 00:00:00 UTC.

  







Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---