how to convter date onject in javascript to string code example Example: convert date to string javascript var d = new Date(); var n = d.toDateString();