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.
0
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.
0
Categories
- All Categories
- 961 Image-Pro v9 and higher
- 9 Image-Pro FAQs
- 18 Image-Pro Download & Install
- 448 Image-Pro General Discussions
- 486 Image-Pro Automation (Macros, Apps, Reports)
- 20 AutoQuant Deconvolution
- 2 AutoQuant Download & Install
- 18 AutoQuant General Discussions
- 195 Image-Pro Plus v7 and lower
- 3 Image-Pro Plus Download & Install
- 106 Image-Pro Plus General Discussions
- 86 Image-Pro Plus Automation with Macros
- 19 Legacy Products
- 16 Image-Pro Premier 3D General Discussions
- 26 Image-Pro Insight General Discussions