SELECT
DATEDIFF_BIG
(
NANOSECOND,
CONVERT(datetime2(7), '1900-01-01'),
CONVERT(datetime2(7), '1900-01-01 00:00:00.0033333')
)
/ 100
* 3;
SELECT
DATEDIFF_BIG
(
NANOSECOND,
CONVERT(datetime, '1900-01-01'),
CONVERT(datetime, '1900-01-01 00:00:00.003')
)
/ 100
* 3;