[ create a new paste ] login | about

Link: http://codepad.org/p3pqbSlB    [ raw code | output | fork ]

PHP, pasted on Jan 24:
1
2
3
4
5
<?php

$month = "January";
echo date('m', strtotime($month));
?>


Output:
1
01


Create a new paste based on this one


Comments: