def _portal_datetime_format(use_century=False):
    """The standard Management Portal format for a date and time

    We use month/day/year hour:minute

    If use_century is true
        then use '%Y' for years (allows 4 digits)
        else use '%y' for years (allows 2 digits)
    """
    year_format = "Y" if use_century else "y"
    return "%m/%d/%" + year_format + " %H:%M"