Date conversion cleanup
Add comments.