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 are examples of dependent variables?
How to find a specific value in an array?
How is session data stored?
What is difference between count or sizeof function in php?
Explain which cryptographic extension provide generation and verification of digital signatures?
What is difference between required and require_once in php?
What are the uses of php language?
Is php better than java?
What is the difference between md5(), crc32() and sha1() crypto on php?
What are the three classes of errors that can occur in php?
Why php is used?
What is csrf validation?
Is php 7.0 stable?
How to find current date and time?
Explain what does the function get_magic_quotes_gpc() means?