ericwheeler3287 ericwheeler3287
  • 07-08-2019
  • Computers and Technology
contestada

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

Select one:

a. False

b. None of these

c. True

d. Sometimes

Respuesta :

Branta Branta
  • 13-08-2019

Answer:

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

Answer Link

Otras preguntas

The product of a number and thriteen.
Which of the following is a current kingdom? Animalia Monera Protista all of the above
Which best explains why archaeologists and historians do not have extensive information about the Indus Valley civilization? A. The people of the Indus Valley c
The product of a number and thriteen.
Five sixth minus one third
write the steps you take to add 43 and 35 on a hundred chart.
What two factors does potential energy depend on?
6. Suppose a bill arrives on the desk of the president of the United States. It originated in the Senate. He decides on a pocket veto. This will be possible for
on which planet would a spaceship need the largest force to take off
jason deposits $5,000 in the bank that will pay him 4% simple interest annually if jason deposits no more than the initial $5,000 how much money will be in the