I'm assuming we can't use something from Joda because there are sometimes stupid dates? otherwise ISODateTimeFormat.basicDate() should work.