Speeded up date-formatting