how to add date to webpage with php

Discussion in 'PHP' started by Amilo, Jun 13, 2007.

  1. #1
    I want to add the current month to a webpage in letter format with php.

    So the webpage would look like "the month is june"

    The way I would normaly tackle this is to pick the date from a file that has the 12 months in it and use an IF statement.

    Is there a quick way to do it using the php engines built in time and date ?
     
    Amilo, Jun 13, 2007 IP
  2. Alx

    Alx Member

    Messages:
    94
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    48
    #2
    Alx, Jun 13, 2007 IP
  3. Amilo

    Amilo Peon

    Messages:
    624
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks Alx...
     
    Amilo, Jun 13, 2007 IP