Answer Posted / 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 |
Post New Answer View All Answers
What is binary safe function in php?
Is php required for wordpress?
Why json is used in php?
What are hooks in php?
Can we override static method?
What is difference between single quotes and double quotes in php?
What is php and its advantages?
What are the string functions in php?
When do sessions end?
What is the use of is_array() and in_array()?
Php code to find whether a number armstrong or not?
How to call javascript function in php on button click?
How to write a program to make chess?
What is the use of mysqli_real_escape_string() function?
What is the use of Php variables?