How to get the previous months last date....


Posted on 16th Feb 2014 07:03 pm by admin

Here's my wittle problem. I suck at working with dates.

So today is 10/20/2009, i need to figure out how to use

Did you know?Explore Trending and Topic pages for more stories like this.
Code: $lastmonth = date("m-d-Y", strtotime(" "));

in order to get 09/30/2009

Thanks!
No comments posted yet

Your Answer:

Login to answer
299 Like 47 Dislike
Previous forums Next forums
Other forums

Send current URL in URL with a $_GET variable problem.
Hello community,

I have created a function that gets the current variable of a page, example:

IDOC error
Hi, When i send IDOC from ECC system to MII there is no problem ECC side, i says message sent succe

How do I get the row number from from an sql table query
Hi all

I have a table that I query and it returns a number of rows.
mysql_num_rows($query)

Oracle11g Patch issue
Hi all,

I'm getting the following error while installing Oracle11g Patch 11.1.0.7.0 on IBM-AI

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

Stuck with preg_replace
Hi,

I'm trying to use preg_replace to remove part of the IP address submitted using a form on

ALV List display - header width adjust
Hi,

I am using REUSE_ALV_LIST_DISPLAY for my ALV display.The width of the ALV varies for

post to self
Trying to get my form to submit to itself. However I am also trying to use an image for my submit bu

HTML form problem
Ive made a form to that i want to send to my email via PHP. but when it send only the name's etc sen

MySQL-PHP Query Results Help
Hello all. I'm hoping to be able to get some help in solving a problem with query/rowcount output. I

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash