Skip to content

Instantly share code, notes, and snippets.

@dodyagung
Created October 16, 2014 07:37
PHP weekdays
<?php
$now = date('j F Y');
echo 'now = ' . $now . '<br />';
$mod = strtotime($now . " + 10 weekdays");
echo 'next 10 weekdays = ' . date('j F Y', $mod);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment