Math
- How many days from now until X?
my $today = DateTime->today( time_zone => 'floating' ); my $yapc = DateTime->new( year => 2006, month => 6, day => 26 ); my $delta = $yapc->delta_days($today); print " Days until YAPC::NA: ", $delta->delta_days, "\n";
- This part of the API sucks
- Sorry
- hindsight
- 20/20
- run the script - delta-days-yapc