advanced code snippet search
ptiswitz on 02/25/11
time date format french
The date format is dd/mm/YYYY but you can replace slashes by anything else.
<?php $date = '25/02/2011'; $date = implode('-', array_reverse(explode('/', $date))); $time = strtotime($date);?>
Report this snippet
You need to login to post a comment.