how to get server date and time?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / arya
Try following queries
1] get date time
"SELECT NOW()"
2] get time
"SELECT CURTIME()"
3] get date
"SELECT CURDATE()"
Is This Answer Correct ? | 12 Yes | 9 No |
when we select some checkboxes and we went for next page if we came back to prevoius page the selcted checkboxe should be checked
what is the diffrence between for and foreach?
11 Answers Hirolasoft, IBM, Photon,
What's php?
Is learning php easy?
How can we get second of the current time using date function?
Explain me what is the difference between explode() and split() functions?
how do we can copy of the content of a web page with the help og the URL and display them onto any other page
how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible?already i was increase php.ini and set Also increase Memory_limit Post_max_size upload_max_filesize..........but not working......
How do you find the length of a string in php?
What are the advantages of object-oriented programming in php?
How could I install codeignitor ?
Why is facebook still using php?