Results 1 to 4 of 4

Thread: date("F j Y H:i:s T

  1. #1
    Join Date
    Feb 2009
    Posts
    156
    Thanks
    0
    Thanked 4 Times in 3 Posts

    Default date("F j Y H:i:s T

    date("F j Y H:i:s T)
    what is the meaning of all arguments, means full form of FJYH etc...?
    how may i remeber these arguments while doing coding...?

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Take a look at this: http://se2.php.net/date
    You could print it and look at it until you learn or bookmark the page and go back and take a look when you need to.

    Good luck!

  3. #3
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    PHP Code:
    echo date("F j Y H:i:s T"); 
    Would return the current date in the following format:

    F = Full month name (E.g. January)
    j = Day of the month (without preceding 0s) e.g. 02 would become 2
    Y = Full year (4 digits - 2009)
    H:i:s - Hours (24 hour clock format) : Minutes : Seconds
    T = Timezone (e.g. GMT)

    Full example:

    February 5 2009 16:07:25 GMT

  4. #4
    Join Date
    Feb 2009
    Posts
    73
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default

    just use PHPManual for coding

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
  •