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

EC What is the Arabic numeral for this Roman numeral? VII 07 09 08 STUR
what superhero uses a device called ""the cosmic treadmill""?
Mario Andretti drives his race car 500 miles in 2.5 hours. What is his speed?
Reposting this question because of the bots sending links
expand the following by removing the brackets -2 (3x + 4) m ( my -3)​
28. One difference between the House and Senate is the number of members. Because of this, which of the following is true? a. The House will spend much more ti
Reagan solved 5.25 ÷ 5 and got 105. What did Reagan do wrong?
please solve this problem using the foil method[tex] {x}^{2} - 9[/tex]​
If a 75 kg box collides with a stationary 35 kg box with a force of 110 N, what must be true of the magnitude of the reaction force?
3.How are climate and weather different? 4.How can you depict annual precipitation at a site location, like a local airport? 5. What is the transformation of w