Years. As for the number of years, it depends on what the asset classification is, and on what date it was placed in service.
If you sold the asset, then you "should" have been depreciating it already, from the date it was placed in service. In most cases (not all) assets that have a class life of less than one year are not depreciated, and are most commonly not treated as assets at all.