Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

cleanup

  • Loading branch information...
commit d1959603aeddfab2f826fabb6c8ce8e83dd0b608 1 parent 481d8a8
Rob Lourens authored

Showing 1 changed file with 0 additions and 20 deletions. Show diff stats Hide diff stats

  1. +0 20 index.php
20 index.php
@@ -31,26 +31,6 @@
31 31 EOL;
32 32 }
33 33
34   -
35   -function weekdaysTil($data)
36   -{
37   - $future = dataToTime($data);
38   - $days = 0;
39   - $t = time();
40   -
41   - while ($t < $future)
42   - {
43   - // If the day is a weekday... (Sun: 0, Sat: 6)
44   - if (date('w', $t) % 6 != 0) {
45   - $days++;
46   - }
47   -
48   - $t = strtotime('+1 day', $t);
49   - }
50   -
51   - return $days;
52   -}
53   -
54 34 $json = file_get_contents('iastate.json');
55 35 $data = json_decode($json, true);
56 36 ?>

0 comments on commit d195960

Please sign in to comment.
Something went wrong with that request. Please try again.