// Display the approximate time spend on the road
function onroad(oldDate){
	var eventdate=new Date(oldDate)
	var now=new Date()
	days=Math.floor((now.getTime()-eventdate.getTime())/86400000)
	// Result in milliseconds so / 1000 (milli) & 60 (sec) & 60 (min) & 24 (hours) = 86400000

	years=Math.floor(days/365)
	months=Math.floor((days%365)/30.4) 
	// 30.4 is average days per month

	return years+" years, "+months+" months"
}



