Results 1 to 3 of 3

Thread: date("Y-m-07")?????

  1. #1
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default date("Y-m-07")?????

    Just a quick question:
    Please correct me if I'm wrong. I am presuming that

    PHP Code:
    date("Y-m-07"); 
    means the 7th day of the current month....


    If that is not what it stands for, please tell me what it does.

    But, if that IS what it means, tell me that too, cause then I might have solved a HUGE problem...

    Thanks

  2. #2
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    dont worry, i've figured it out for myself.

    yes, it displays the 7th day of the current month of the current year.

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    If we're talking a yyyy-mm-dd format here, yes.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •