Given it only takes 20 mins or so from Schipol to Centraal and costs approx €10 return I’d be tempted to stay at the airport if it is significantly cheaper than the centre.There is also a day pass you can buy that includes city trams and buses. - I’ll find and post the details for you later
trains run very late - if not all night. Check the Dutch trains journey planner for timetables