locked
comparing times RRS feed

  • Question

  • so I am comparing times but  my times are all off by like 5 to 10 mins.

    the time can be up to 20 mins off and it still be ok.

    however since the times are in strings I can't do

    if( time is <= ( currenttime - 20)

    or can I ?

    I have textbox002.value = Cstr(now)

    and I am using that to compare again from alpha002.values

    would I have to turn the two times in to decimals or something?

    Monday, June 25, 2012 9:50 PM

Answers

  • nevermind I got it to work

    thanks

    • Marked as answer by riten Monday, June 25, 2012 10:29 PM
    Monday, June 25, 2012 10:25 PM

All replies

  • Hi,

    Your question is way too vague. You need to tell more about what your goal is, what you have tried that does not work, what error message(s) you get, etc. Remember: We cannot read your mind, and we cannot see your screen.

    Bill

    Monday, June 25, 2012 10:00 PM
  • nevermind I got it to work

    thanks

    • Marked as answer by riten Monday, June 25, 2012 10:29 PM
    Monday, June 25, 2012 10:25 PM