How to get date, month and year from a complete date? - 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: How to get date, month and year from a complete date? (/showthread.php?tid=405) |
How to get date, month and year from a complete date? - abhishek_acharya - 12-23-2022 new Date() will give the complete current date with time.. var today = new Date(); var today1=today.getFullYear()+'-'+(today.getMonth() + 1)+'-'+today.getDate(); |