why we use 1-1-1970 for time stamp instead of any other date in php?

Discussion in 'PHP' started by bhuppi890109, Apr 25, 2011.

  1. #1
    when ever we want to calculate the timestamp then it is calculated from 1-1-1970...what is the reason for using this date instead of any other date in php?
     
    bhuppi890109, Apr 25, 2011 IP
  2. subdivisions

    subdivisions Well-Known Member

    Messages:
    1,021
    Likes Received:
    40
    Best Answers:
    1
    Trophy Points:
    145
    #2
    Because that's around the time the standard was decided. No other reason :p
     
    subdivisions, Apr 25, 2011 IP
  3. ap2010

    ap2010 Guest

    Messages:
    41
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Search "Unix epoch" on wikipedia and scroll down to the "History" section.
     
    ap2010, Apr 25, 2011 IP
  4. bhuppi890109

    bhuppi890109 Member

    Messages:
    1,337
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    48
    #4
    thanks ap2010..i got the reason
     
    bhuppi890109, Apr 26, 2011 IP