import pytz


def datetime_to_utc_string (d):
    """ Unlike everything else, take a DATETIME and produce
        a string representing the datetime as UTC.
    """

    d_utc = d.astimezone(pytz.timezone('UTC'))
    return d_utc.strftime("%FT%H:%M:%SZ")