Take in the datetime object
Check that the datetime is valid, meaning it is not in the past and is either an hour or 30 mins(ex 12:00, or 12:30) not 12:45.
Format the string into the proper format which is: publish_time.strftime('%G-%m-%dT%H:%M:%S.000Z')
Check if the video is private.
The function should:
Take in the datetime object Check that the datetime is valid, meaning it is not in the past and is either an hour or 30 mins(ex 12:00, or 12:30) not 12:45. Format the string into the proper format which is: publish_time.strftime('%G-%m-%dT%H:%M:%S.000Z') Check if the video is private.