Returns a timestamp using Performance.now or Date.now