Apply timefactor if date string's length equal 6.
Clean code.