how to extract month from given date by using string
functions?
Answer Posted / pavunkumar
use this code.
[code]
?php
print date ( 'm',mktime ( 0,0,0,02,26,2010 ) ) ;
?>
~
[/code]
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is a model in php?
What new features php7 has in store for us?
What is restful api?
How check variable is set or not in php?
What is form validation in php?
How come the code works, but doesn’t for two-dimensional array of mine?
What is the difference between the include() and require() functions?
Why namespace is used in php?
What is a path Traversal?
What is difference between strstr() and stristr() in PHP?
Tell me how can we define a variable accessible in functions of a php script?
What is a query give example?
How do you end php?
Explain the difference between $var and $$var?
How do I repair phpmyadmin?