Junior PHP Developer Question:
Tell me how to find current date and time?
Answer:
The date() function provides you with a means of retrieving the current date and time, applying the format integer parameters indicated in your script to the timestamp provided or the current local time if no timestamp is given. In simplified terms, passing a time parameter is optional - if you don't, the current timestamp will be used.
Previous Question | Next Question |
Explain what are the two main string operators? | Explain how can PHP and Javascript interact? |