SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Unix time

  1. #1
    SitePoint Guru arunkumar's Avatar
    Join Date
    Jan 2005
    Location
    India:Chennai
    Posts
    827
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unix time

    How to get Unix Time in php.

    I tried time() but it does not works,
    ArunKumar

  2. #2
    SitePoint Enthusiast
    Join Date
    Dec 2004
    Location
    Johannesburg
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try date('U')

  3. #3
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,807
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    time() should work.
    How did you use it?
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....


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
  •