view org/steph.org @ 6:ed2906578cd6

goodbye stephanie. I will miss you :(
author Robert McIntyre <rlm@mit.edu>
date Mon, 17 Sep 2012 21:14:32 -0400
parents
children 68ce1f2eb7a6
line wrap: on
line source
1 #+title: Gooodbye
2 #+author: Robert McIntyre
3 #+email: rlm@mit.edu
4 #+setupfile: ../../aurellem/org/setup.org
5 #+include: ../../aurellem/org/level-0.org
8 #+begin_src clojure :results output :exports both
9 (def steph-birth (DateMidnight. 1990 12 2))
11 (def steph-death (DateMidnight. 2012 7 26))
13 (def life (Interval. steph-birth steph-death))
15 (printf
16 "%d days."
17 (.getStandardDays (.toDuration life)))
18 #+end_src
20 #+results:
21 : 7906 days.