Search found 1 match

by Seb Spiers
Sun Aug 20, 2006 9:30 am
Forum: PHP - Code
Topic: Manipulating Strings as Dates
Replies: 7
Views: 387

Manipulating Strings as Dates

Hi There, Ive got a simple html form with a text field in which a date is entered in a dd/mm/yyyy format. I want to be able to manipulte the date by adding and subtracting days. The problem i've found is that if I enter 22/06/1983 and for example do; <? echo ( $date_commencing + 6 ) ; ?> The output ...