daystart 275 B

123456789101112131415161718192021222324
  1. # daystart
  2. daystart = (year - 2015) * 365
  3. daystart += ((year - 2015) + 3) / 4
  4. i=1
  5. :daystart
  6. if month > i:
  7. daystart += monthsend[i]
  8. i += 1
  9. jump 'daystart'
  10. end
  11. daystart += day
  12. daystart -= daystart_start
  13. daystart += 1
  14. --- daystart ---------------------------------