Convert Sql Date To Int