how to get cuirrent date and time node js code example Example: how to get datetime in nodejs // new Date object let date_ob = new Date();