break_time

sunpy.time.break_time(t='now', time_format='')[source] [edit on github]

Given a time returns a string. Useful for naming files.