- convert syncDatetime to asnyc function