1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Converting seconds since the Unix epoch to RFC 2822 format

Discussion in 'PHP' started by norfstar, May 17, 2005.

  1. #1
    I would imagine this is pretty easy, but I must be overlooking something in the manual as I just can't seem to figure out how to do it. Can anyone give me a hint?
    SEMrush
     
    norfstar, May 17, 2005 IP
    SEMrush
  2. noppid

    noppid gunnin' for the quota

    Messages:
    4,246
    Likes Received:
    232
    Best Answers:
    0
    Trophy Points:
    135
    #2
    noppid, May 17, 2005 IP
    norfstar likes this.
  3. norfstar

    norfstar Peon

    Messages:
    1,154
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks :D.

    For future reference the solution looks like:

    date('r', 1116329331);
    PHP:
    where 1116329331 is an example of seconds since the Unix epoch.
     
    norfstar, May 17, 2005 IP