sql convert nanoseconds to datetime. Later, we use DATEADD () to