Fixed server side time calculation'