Convert time stamp variable to integer

(Originally posted by Robert Maher on 2/9/2006)

Does anyone know how to convert a number contained in a string variable into an integer? What I want to do is take the timestamp from the image header and turn it into an integer which then can be added or subtracted to other integers.

 

Comments

  • (Originally posted by Chris Tylly on 2/9/2006)

    Val(String) will convert the string to a numeric value, based on the numberic characters in the string.

    If you call IpDocGetPropDate, you can get the time stamp of an image captured by Image-Pro as a Date value, which may be more useful than an integer.

Sign In or Register to comment.