Bikram Sahoo
Query: 18 / Answer: 29

02nd Jan 2017 .

How to find current date and time?


Answers

Manosmita
Query: 247 / Answer: 251

02nd Jan 2017 .

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.
 

Manosmita
Query: 163 / Answer: 162

02nd Jan 2017 .

echo date("d/m/Y");


  •  Information
  • About Forum

    This educational forum is produly developed by betaQsolutions-A leading software company in Odisha. This forum is developed to discuss the educational topics only betweeen the Students, teachers, Parents & Experts. Topic related to Career, Syllabus, Subjects, Questions, Exams etc are allowed to discuss here.

  • Statistics

    Total topics 43 • Total Query 1115 • Total members 247 • Total Answered 1286