Handle all date formats in a primitive way (always take the beginning of period)