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
How big is nvarchar max?
What is the use of the function htmlentities?
How to create a table using php?
How to get the directory name out of a file path name?
What is $_ request?
How to create a directory?
Explain me what is the use of 'print' in php?
Tell me how is it possible to know the number of rows returned in result set?
How to create a session? How to set a value in session?
How do you clear environment variables?
Is php an object or array?
Explain what is the difference between session and cookie?
What are the Advantages and Application Areas of PHP?
When to use single quotes, double quotes, and backticks?
Tell me how can we pass the variable through the navigation between the pages?