date len check: convert int to string to check len