Format Tanggal JavaScript dengan Date.js Library

const dayjs = require('dayjs');

let now = dayjs();

console.log(now.format());
Gentle Gerbil