• DECLARE @dt DATETIME

    Set @dt = '1/1/1901 12:01'

    Select Convert(int,@dt)




    My Blog: http://dineshasanka.spaces.live.com/