Search:
mode regex-function
Code:
def replace(match, number, file_name, metadata, dictionaries, data, functions, *args, **kwargs):
from datetime import datetime
return datetime.now().strftime("%d/%m/%Y")
Change the format to another one to feet your needs, e.g. "%m/%d/%Y" if you prefer US date format, or "%d-%m-%y" if you want 2-digits year and dashes, etc.