Forums
Get current date in dashboard using script - Printable Version

+- Forums (https://bdn.bdb.ai)
+-- Forum: BDB Knowledge Base (https://bdn.bdb.ai/forumdisplay.php?fid=13)
+--- Forum: BDB Dashboards Designer (https://bdn.bdb.ai/forumdisplay.php?fid=43)
+---- Forum: BDB Designer Q & A (https://bdn.bdb.ai/forumdisplay.php?fid=16)
+---- Thread: Get current date in dashboard using script (/showthread.php?tid=523)



Get current date in dashboard using script - shreekantgosavi - 12-23-2022

Code:
var todayDate = new Date().toISOString().slice(0, 10);
console.log(todayDate);