The documentation says the range is January 1, 1753, through December 31, 9999.
I don’t think there is a built in function, but you could create one that returns the maximum datetime value.
CREATE FUNCTION fn_max_date
RETURNS datetime
AS
return cast('12/31/9999 23:59:59.9999' as datetime)