Answer Posted / amol
By Using function Date in php
Definition and Usage
The getdate() function returns an array that contains date
and time information for a Unix timestamp.
The returning array contains ten elements with relevant
information needed when formatting a date string:
* [seconds] - seconds
* [minutes] - minutes
* [hours] - hours
* [mday] - day of the month
* [wday] - day of the week
* [year] - year
* [yday] - day of the year
* [weekday] - name of the weekday
* [month] - name of the month
| Is This Answer Correct ? | 16 Yes | 6 No |
Post New Answer View All Answers
What is framework? How it works? What is advantage?
What is php7?
What is the expansion of LAMP?
Tell me what is the difference between exception::getmessage and exception::getline?
How to delete file in php?
What's the difference between using mysql_ functions and pdo?
Explain the difference between $message and $$message?
Tell me what are the encryption techniques in php?
How to turn on the session support?
What is the difference between the include() and require() functions?
What is the use of isset() in php?
How to remove leading and trailing spaces from user input values?
Explain whether it is possible to share a single instance of a memcache between multiple php projects?
Tell me how can we change the maximum size of the files to be uploaded?
What is different between software and app