[ create a new paste ] login | about

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

PHP, pasted on Jun 15:
1
2
3
<?php
echo $day_of_week = date('N', strtotime('15-06-2013'));
?>


Output:
1
6


Create a new paste based on this one


Comments: