Solved:
$("#dateandtime").text(date.toString());

Reply via email to