Calculating time from a date and time.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • madmuis
    New Member
    • Mar 2008
    • 1

    Calculating time from a date and time.

    So i wan't to calculate The date and time FROM an old date and time so for example 03-22-08 02:54 pm this is the old time and date i need it to calculate +5 days +/- 30 hours. So i made a dropdown box. A calculation button. And a textbox to put the calculated time in. Please help :) i'm a nobo in VB
  • lotus18
    Contributor
    • Nov 2007
    • 865

    #2
    Originally posted by madmuis
    So i wan't to calculate The date and time FROM an old date and time so for example 03-22-08 02:54 pm this is the old time and date i need it to calculate +5 days +/- 30 hours. So i made a dropdown box. A calculation button. And a textbox to put the calculated time in. Please help :) i'm a nobo in VB
    Use DateAdd() Function

    Rey Sean

    Comment

    Working...