Jump to content

Seb Spiers

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Seb Spiers's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. 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; [code]<? echo ( $date_commencing + 6 ) ; ?>[/code]The output is not 28/06/1983, it simply outputs "28".  It uses the numbers before the first "/".  I want to handle the date as a date. Can anyone help? :) Ta! :X
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.