Decimal date

See associated code review at http://mrccodereview.cloudapp.net/ui#review:id=1034