[ create a new paste ] login | about

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

PHP, pasted on Dec 4:
1
2
3
4
5
6
<?php

$time = strtotime(NOW );
$myDate = date( 'omd', $time );

echo $myDate ;


Output:
1
20121204


Create a new paste based on this one


Comments: