This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 14 lines (9 sloc) 228 Bytes
#!/usr/bin/env python
import sys
from datetime import date
label = sys.argv[1]
dt = sys.argv[2].split("/")
d0 =
d1 = date(int(dt[2]), int(dt[0]), int(dt[1]))
delta = d1 - d0
print "%s: %s" % (label, delta.days)