Junior PHP Developer Question:
Download Job Interview Questions and Answers PDF
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.
Download Junior PHP Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain what are the two main string operators? | Explain how can PHP and Javascript interact? |