Add created date to contents of text file

Hello,
I'm trying to prepend the created date of a text file to the contents of the file.
So for example, let's say I have a text file 'Example.md' and the contents of the file is:
I'd like it to be modified to be:
I am able to easily add the created date to the file NAME, but I'm stuck on how to add it to the file CONTENTS.
Any idea on how that might be achieved? Thanks so much!
I'm trying to prepend the created date of a text file to the contents of the file.
So for example, let's say I have a text file 'Example.md' and the contents of the file is:
- Code: Select all
Hello World
I'd like it to be modified to be:
- Code: Select all
UID: 202103021127
Hello World
I am able to easily add the created date to the file NAME, but I'm stuck on how to add it to the file CONTENTS.
Any idea on how that might be achieved? Thanks so much!