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
How many functions are there in php?
Explain the syntax for ‘foreach’ loop with example.
What is framework in php for beginners?
How to call php function in jquery?
How to open a file in php?
How to delete an element from an array?
How to check a variable is an array or not in php?
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
Will a comparison of an integer 12 and a string "13" work in php?
Explain Constant in Class?
What is the difference between require_once and require in php?
in PHP for pdf which library used?
Do you know what is the use of rand() in php?
What can php do?
Which function gives us the number of affected entries by a query?