fix the date issue

get the date from server side is always good idea