Using proper date type with custom format.