I am trying to find the date from the database which should be exactly 30 days from now.
I want to retrieve the date from the database which is DateTime
format. change this to timestamp with strtotime()
. feed this to date()
and retrieve the m
and i
and then do local calculation to find out if its less exactly thirty days.
I want to know if there is any straight forward and easy procedure to do this.