Changing global variable inside the function node

Maybe because strftime formating is not built in NR. But I am not an expert...
Discussed here, for example: Date/Time formatting