# get_sunearth_distance¶

sunpy.coordinates.ephemeris.get_sunearth_distance(time='now')[source] [edit on github]

Return the distance between the Sun and the Earth at a specified time.

Parameters: time (various) – Time to use as Time or in a parse_time-compatible format out (Distance) – The Sun-Earth distance