Ask Question

Date () is a function that can also access time.

Select one:

a. False

b. None of these

c. True

d. Sometimes

+1
Answers (1)
  1. 9 January, 09:49
    0
    c. True

    Explanation:

    The Date () function in PHP can also be used to access current time.

    Syntax of date function is date (format, timestamp). Here timestamp is optional argument. If it is omitted it defaults to the current date/time.

    In order to print current time using the date () function:

    echo date ("h:i:s")

    This will display the current time in hour:minute:second format.

    hours range from 01-12

    minutes range from 00-59

    seconds range from 00-59
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Date () is a function that can also access time. Select one: a. False b. None of these c. True d. Sometimes ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers