Results 1 to 2 of 2

Thread: Add time period to date [Resolved]

  1. #1

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945

    Add time period to date [Resolved]

    I have date values and an integer value stored in a record. I have the user going through and picking which records need to be updated (this is for a calibration). Whenever they have selected the records they want, I want to add that integer value to the date in the record.

    So the question is, how do I add the integer value to the date? Also, all the integers indicate months, so an example would be:

    Record contains 6/10/2004 and 12, so I need to update the date to be 6/10/2005. Any ideas?
    Last edited by ober0330; Jun 10th, 2004 at 12:16 PM.
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

  2. #2

    Thread Starter
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    nevermind... figured it out using mktime().
    format your code!! - [vbcode] [/vbcode]

    ANSWERS CAN BE FOUND HERE!!

    my personal company

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width