2 Replies Latest reply: Mar 27, 2008 8:43 AM by 807591 RSS

    how to convert number 10 to a long value ?

    807591
      Hello
      What is the corresponding long value for number 10 ?
      I am trying to compare timestamp

      time1: long value of 09:10:00 is 1206105000929
      time2: long value of 09:08:20 is 1206104900929
      I need to get the difference between time1 and time2 and check if that difference is less than 10, but I do not know the long value for 10 b/c I am using the long values to subtract.
      Or if there is another clean way to do this, please point me in the right direction.

      I appreciate any help on this .

      Thank you