Merge pull request #4 from chinavatar/zwd

change all time field to datetime
some methods