how to convert time format like this 1272709634 into real time format ?

Discussion in 'PHP' started by ramysarwat, May 1, 2010.

  1. #1
    how to convert time format like this 1272709634 into real time format ?
     
    ramysarwat, May 1, 2010 IP
  2. m-1o

    m-1o Guest

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    use date()
     
    m-1o, May 1, 2010 IP
  3. m-1o

    m-1o Guest

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    or
    strfortime()
     
    m-1o, May 1, 2010 IP
  4. n3r0x

    n3r0x Well-Known Member

    Messages:
    257
    Likes Received:
    4
    Best Answers:
    1
    Trophy Points:
    120
    #4
    n3r0x, May 1, 2010 IP
    chandan123 likes this.
  5. danx10

    danx10 Peon

    Messages:
    1,179
    Likes Received:
    44
    Best Answers:
    2
    Trophy Points:
    0
    #5
    Follow what n3r0x suggested, also that time format is called a timestamp.
     
    danx10, May 1, 2010 IP