Vidyalelo
PHP · Q2

Date And Timestamp

Programming · PHP · question 2

Q2

The date() function returns ___ representation of the current date and/or time.

A.
Integer
B.
String
Answer
C.
Boolean
D.
Float

Answer: Option B

Solution

Answer: Option B
Solution:
The prototype of this function is: string date(string format [, int timestamp]).