Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to call php function from javascript using ajax?

1000


What is the difference between php and javascript?

1182


What is php default argument?

1032


How to remove the new line character from the end of a text line in php?

976


In php, how to redirect from one page to another page?

930


When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?

895


What is different between software and app

1757


What is the use of the function 'imagetypes()'?

1022


How to convert a character to an ascii value?

1138


What are different types of Print Functions available in PHP?

974


Tell me how to find current date and time?

1045


How many open modes available when a file open in PHP?

1166


How do you destroy a session?

913


Explain the casts allowed in PHP?

1033


What is cookie and session in php?

949