Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get last month using php

//Last month
$lastMonth = Date("F", strtotime("first day of previous month");
$nextMonth = Date("F", strtotime("first day of next month");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #month #php
ADD COMMENT
Topic
Name
9+6 =