How to split one text file into multiple text files according to text content?

Hi,

How do we get the date?

Regards,