Ask Question
24 August, 21:01

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

Select one:

a. False

b. None of these

c. True

d. Sometimes

+3
Answers (1)
  1. 25 August, 00:46
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers