def WhenWasTheFileCreated(rootloc, verbose=0):
    '''
    Returns a dataframe containing the creation and modification
    dates of the files within the directory
    '''
    filedata = Fetchfile(rootloc, verbose=verbose)

    TimeData = [{"uniquename": un,
                 "mtime": os.path.getmtime(
                     fn[3]),
                 "ctime":os.path.getctime(fn[3])} for un,
                fn in zip(*filedata)]
    df = DataFrame(TimeData)
    df.ctime *= 1e9
    df.ctime = df.ctime.apply(pds.Timestamp)
    df.mtime *= 1e9
    df.mtime = df.mtime.apply(pds.Timestamp)

    return df