Fixed timezone issue.

Fixed the UTC timezone issue and removed useless comments and code.