Troy
Well-known member
- Joined
- Feb 7, 2005
- Messages
- 153
- Programming Experience
- 10+
I need to show the age of something in my database.
I have a variable txtDOM.Value which has the date it was manufactured stored in it.
I need to take that info and subtact it from the current date which is Date.Now. But VB won't let me use that information in mathmatical proceedures.
How can I convert them so that I can do the Math and get my Unit Age?
I'm actually needing to convert it all into days and get the Number of days old it is.
I have a variable txtDOM.Value which has the date it was manufactured stored in it.
I need to take that info and subtact it from the current date which is Date.Now. But VB won't let me use that information in mathmatical proceedures.
How can I convert them so that I can do the Math and get my Unit Age?
I'm actually needing to convert it all into days and get the Number of days old it is.