Removed excessive date manipulation.
Updated comments.