getting datetime from server