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 type casting mean in php? Explain with an example?
Explain php parameterized functions.
What does it mean when it says the csrf token is invalid?
Why do we use php?
What are classes in php?
Do you know what is the difference between mysql_fetch_object() and mysql_fetch_array()?
What is the difference between associative array and indexed array?
What is the difference between explode () and split () functions in php?
Describe which programming language does php parallel to?
What is the use of "enctype" attribute in a html form?
Will react hooks replace redux?
Which programming language does php resemble to?
How to execute an sql query? How to fetch its result?
What is the capacity of mysql database?
What is different types of visibility?