Ask Question
26 July, 06:48

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. 26 July, 09:23
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers