import time


def DateInfoString( tm ):
    """
    Given a date in seconds, return a string that contains the day of the
    year, the year, the day of the week, the month, and the day of the month.
    These are white space separated.
    """
    return time.strftime( "%j %Y %w %m %d", time.localtime(tm) )