Answers for "set last day of month as default in typescript"

11

get last day of month typescript

var date = new Date();
var firstDay = new Date(date.getFullYear(), date.getMonth(), 1);
var lastDay = new Date(date.getFullYear(), date.getMonth() + 1, 0);
Posted by: Guest on May-02-2020

Code answers related to "set last day of month as default in typescript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language