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 php session id?
What is xss in php?
Tell me what is the difference between the functions strstr() and stristr()?
How do you compare strings in java?
How do you remove whitespace from the beginning and end of a $string variable?
Do you have to initialize variables in php?
How many different types of messages available in php?
Is jquery better than javascript?
What's the difference between using mysql_ functions and pdo?
Is php outdated 2019?
What is a base url?
Is nan in php?
Does php support multithreading?
What language is php based on?
what is CURL?