How I can get Server Date and time in MySQL Database ?

Discussion in 'MySQL' started by B R Bhatt, Apr 11, 2007.

  1. #1
    I have a problem to get a server date and time to make online news website.

    I want to retrieve date & time and add on Database while I publish new news on website..

    plz try to reply with solution scripts !!
    I am waiting .....
     
    B R Bhatt, Apr 11, 2007 IP
  2. druidelder

    druidelder Peon

    Messages:
    285
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you want to do it from the database, use the Now() function.
     
    druidelder, Apr 12, 2007 IP
  3. weknowtheworld

    weknowtheworld Guest

    Messages:
    306
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Please see this if it helps you...
     
    weknowtheworld, Apr 14, 2007 IP