News for hackers. Stuff that matters.
Re:Samoa to jump forward in time by one day by nandemo on Monday May 09, 2011 @07:56AM (#2528367)
More realistic examples: loans, fx swaps, or anything related to interest rates.
Re:Samoa to jump forward in time by one day by bruceboughton on Monday May 09, 2011 @09:41AM (#2528645)
Re:Samoa to jump forward in time by one day by nandemo on Monday May 09, 2011 @10:15AM (#2528763)
Care to elaborate? I'm aware there are conventions, but can't see how they help when you're compounding daily and a day disappears.

Say Bank A lends $10M to Bank B on Monday at 0.1% per day. On Tuesday B pays $1k to A. The following day is a Thursday. How much B owes A? $1k or $2k? $1k sounds reasonable but unless you modify your date library you'll probably get $2k.

Re:Samoa to jump forward in time by one day by nandemo on Monday May 09, 2011 @01:50PM (#2529539)
typo: I meant 0.01% per day.