Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get month first date and last date in php

$first_day_this_month = date('m-01-Y'); // hard-coded '01' for first day
$last_day_this_month  = date('m-t-Y');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #month #date #date #php
ADD COMMENT
Topic
Name
4+2 =