The toString() method returns a string representation of the Date object in the local time zone.The toString() method displays the date in the local time zone.