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 does addslashes do in php?
How do you parse and process html/xml in php?
What is difference between compile time and run time polymorphism?
Is empty function c++?
What is difference between session and cookies in php?
What is a string in php?
Is php better than java?
What is the basic function to search files for lines (or other units of text) that contain a pattern.
Which is faster for or foreach php?
What is the best php version for wordpress?
Are there regular expressions in php?
How can I convert ereg expressions to preg in php?
How is session id stored in browser?
What should we do to be able to export data into an excel file?
What is difference between include and include_once in php?