def datetime_to_cdaweb_url_format(datetime_value):
    """
    Convert a python datetime into a string formatted the way CDAWeb expects
    """

    return '{0:%Y}{0:%m}{0:%d}T{0:%H}{0:%M}{0:%S}Z'.format(datetime_value)