How to build recommendation system that also takes time as a feature
Use a diminishing sample weight where the newest sample = 1 and older samples get lower weights. This way if a user changes his interests over time, your recommendations will change accordingly.