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

What is a model in php?

1108


What new features php7 has in store for us?

1057


What is restful api?

1006


How check variable is set or not in php?

935


What is form validation in php?

1067


How come the code works, but doesn’t for two-dimensional array of mine?

1097


What is the difference between the include() and require() functions?

1570


Why namespace is used in php?

1040


What is a path Traversal?

1091


What is difference between strstr() and stristr() in PHP?

1035


Tell me how can we define a variable accessible in functions of a php script?

991


What is a query give example?

1045


How do you end php?

1019


Explain the difference between $var and $$var?

1028


How do I repair phpmyadmin?

1003