nice, except there's more than 365 days in a year : )
You have: 3 lightyears / 365.25 / 24 / 60 / 60 / 1000
You want: miles
* 558.83525
/ 0.0017894361