This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 29th, 2012  |  syntax: Scheme  |  size: 0.14 KB  |  views: 99  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. (define (days-between-years y1 y2 daycount)
  2.         (+ (if (= y1 y2) daycount
  3.                          days-between-years (+ y1 1) y2 (+ daycount (+ year-length y1)))
clone this paste RAW Paste Data