Question
a.
time()
b.
mktime()
c.
mrtime()
d.
mtime()
Posted under PHP
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Which one of the following function is useful for producing a timestamp based on a given date and time.
Similar Questions
Discover Related MCQs
Q. Which function displays the web page’s most recent modification date?
View solution
Q. Say you want to calculate the date 45 days from the present date which one of the following statement will you use?
View solution
Q. To create an object and set the date to JUNE 22, 2013, which one of the following statement should be executed?
View solution
Q. How many methods does the DateTime class have?
View solution
Q. How many constants does the DateTime class have?
View solution
Q. Which method is simply an object-oriented version of date()?
View solution
Q. Which of the following is the right way to use the DateTime class?
View solution
Q. Which of the following statements can be used to set the time zone in individual scripts?
View solution
Q. Among the four PHP DateTimeZone classes given below how many are static?
i) listAbbreviations()
ii) getName()
iii) getOffset()
iv) listIdentifiers()
View solution
Q. Among the four PHP DateTimeZone classes given below how many are non static?
i) _construct()
ii) getName()
iii) getOffset()
iv) getTransitions()
View solution
Q. Which of the following statements can be used to add two months to the existing date?
View solution
Q. Which method enables you to calculate whether daylight saving time is in force at a specific date and time?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond PHP? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!