from datetime import datetime
from pathlib import Path


def get_tensorboard_experiment_id(experiment_name: str, tensorboard_tracking_folder: str):
    """
    Create a unique id for TensorBoard for the experiment
    :param experiment_name: name of experiment
    :param tensorboard_tracking_folder: Path where to store TensorBoard data and save trained model
    """
    model_sub_folder = experiment_name + "-" + datetime.utcnow().isoformat().replace(":", "-")
    return str(Path(tensorboard_tracking_folder) / model_sub_folder)