SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: getting time

  1. #1
    SitePoint Evangelist netkid's Avatar
    Join Date
    Jun 2003
    Location
    USA
    Posts
    563
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    getting time

    I can get the date using php using

    PHP Code:
    $date date ("m.d.y"); 
    How can I get the time as well?

    Santosh Sankar
    Bullish Bankers

  2. #2
    SitePoint Addict CeleronXL's Avatar
    Join Date
    Dec 2002
    Location
    United States of America
    Posts
    349
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    $time = date("h:i:s");
    So hold me when I'm here
    Right me when I'm wrong
    Hold me when I'm scared
    Love me when I'm gone.


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
  •