Thanks @cardamom that pointed me in the right direction. I added this to a cell to get the name of the notebook into nb_name
%%javascript
IPython.notebook.kernel.execute('nb_name = "' + IPython.notebook.notebook_name + '"')
Then this into another cell, and it seems to give me the answer...just a little formatting needed.
# Get the path from
path = !echo %cd%
# Combine the path and filename
completepath = path[0] + '\\' + nb_name
filecreationtime = os.path.getatime(completepath)
filecreationtime = datetime.utcfromtimestamp(filecreationtime)
now = datetime.now()
print(f'Notebook: {nb_name}')
print(f'At path: {path[0]}')
print(f'Dev Time: {str(now - filecreationtime)}')
The thing is, it doesn't seem completly correct as one hour is added. I'm using windows, so I guess it must be down to the os.path.getctime.