Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript date first day of current month

var date = new Date();
var firstDay = new Date(date.getFullYear(), date.getMonth(), 1);
var lastDay = new Date(date.getFullYear(), date.getMonth() + 1, 0);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #date #day #current #month
ADD COMMENT
Topic
Name
8+3 =