xxxxxxxxxx
const dayjs = require('dayjs');
require('dayjs/locale/en'); // Import English locale
const now = dayjs(); // Get the current time
const formattedTime = now.format('HH:mm:ss'); // Format the time as "hours:minutes:seconds"
console.log(formattedTime); // Output: "14:45:30" (example)