#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Chennai,TamilNadu,India
    Posts
    33
    Rep Power
    14
    Is there any way to get the Server Date in PHP.

    TA
    Raghu.
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    3
    Rep Power
    0
    <?
    print (date ("l dS of F Y h:i:s A"));
    ?>
    it should work! k
    can some on tell me how can i make it display the users local date and time?
    with that code above thanks!


    [This message has been edited by Luqman (edited September 30, 2000).]
  4. #3
  5. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,640
    Rep Power
    4476
    I can't think of any PHP variable that tells you the time offset of the user. Maybe something in javascript can do it??
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Chennai,TamilNadu,India
    Posts
    33
    Rep Power
    14
    Thanx.

    Raghu.

Similar Threads

  1. Mysql problem.
    By Nik in forum MySQL Help
    Replies: 54
    Last Post: December 21st, 2006, 06:02 PM
  2. Changing date from date ("Ymd");
    By byte me in forum PHP Development
    Replies: 13
    Last Post: September 28th, 2006, 07:34 AM
  3. Replies: 11
    Last Post: May 15th, 2004, 05:30 PM
  4. database date selection problem
    By kidsleep in forum MySQL Help
    Replies: 0
    Last Post: January 31st, 2004, 10:50 AM
  5. Replies: 0
    Last Post: January 6th, 2004, 02:23 PM

IMN logo majestic logo threadwatch logo seochat tools logo