Here we go again.. lol Im trying to determin...

Here we go againโ€ฆ lol

Im trying to determine the yearsOwned on a carโ€ฆ

Simply putโ€ฆ

(((Today()-[Purchase Date])/24)/360) or (Today()-[Purchase Date])/8640)

When I derive the duration between Today and PUrchase Date I get something like โ€ฆ

19128:00:00

Which equates to the number of hours that Iโ€™ve owned the car. I need to divide that 19128 / 8640 to equal 2.2 yearsโ€ฆ

howeverโ€ฆ

19128:00:00 is not a divisible value.

suggestions on how to get that number divisible?

Thanks all โ€ฆ

dave

0 5 334
5 REPLIES 5

This will return an integer for hours: HOUR(Duration)

So, this should work: HOUR(Today()-[Purchase Date])/โ€ฆ

@RezaRaoofi That did it!

Thanks so much โ€ฆ

Anytime Dave.

#SOLVED

Top Labels in this Space