#1
  1. No Profile Picture
    CodeDuck
    Guest
    Devshed Newbie (0 - 499 posts)
    I have a simple question:

    I must add a variable time (i.e. 50 minutes or 5 months) to a field in a mysql-table. Can this be done without converting it into a unix-timestamp, make the addition and converting it back?
  2. #2
  3. No Profile Picture
    chyrag
    Guest
    Devshed Newbie (0 - 499 posts)
    Check out DATE_ADD in the Date/Time functions in MySQL Manual.

    chyrag.

Similar Threads

  1. Passing pointers between functions
    By heygirls_uk in forum C Programming
    Replies: 2
    Last Post: January 9th, 2004, 02:26 PM
  2. Using functions within functions.
    By winddancer in forum PHP Development
    Replies: 7
    Last Post: May 4th, 2003, 11:25 AM
  3. Meta tages & CSS using DOM functions?
    By coredumped in forum CSS Help
    Replies: 1
    Last Post: October 16th, 2002, 02:21 AM
  4. classes and functions
    By sabreXTC in forum PHP Development
    Replies: 4
    Last Post: October 17th, 2001, 02:32 AM
  5. Problems with Resource ID's and DB abstraction functions!
    By goynang in forum PHP Development
    Replies: 5
    Last Post: July 3rd, 2001, 02:56 AM

IMN logo majestic logo threadwatch logo seochat tools logo