Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cleanup

  • Loading branch information...
commit d1959603aeddfab2f826fabb6c8ce8e83dd0b608 1 parent 481d8a8
@roblourens authored
Showing with 0 additions and 20 deletions.
  1. +0 −20 index.php
View
20 index.php
@@ -31,26 +31,6 @@
EOL;
}
-
-function weekdaysTil($data)
-{
- $future = dataToTime($data);
- $days = 0;
- $t = time();
-
- while ($t < $future)
- {
- // If the day is a weekday... (Sun: 0, Sat: 6)
- if (date('w', $t) % 6 != 0) {
- $days++;
- }
-
- $t = strtotime('+1 day', $t);
- }
-
- return $days;
-}
-
$json = file_get_contents('iastate.json');
$data = json_decode($json, true);
?>
Please sign in to comment.
Something went wrong with that request. Please try again.