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 does $_env means?
What is the difference between array_merge() and array_merge_recursive() in php?
Can we run php in apache tomcat?
What is php oop?
What is mysql in php?
How to convert numbers to strings in php?
What is string in php?
What is strcmp?
Does php need apache?
How to concatenate two strings together in php?
What advance thing in php7?
Explain the changes in php versions?
What is uniqid php?
How many different types of messages available in php?
Tell me what should we do to be able to export data into an excel file?