How to get today date - code javascript + python

hi guys , i am learn erpnext .Can anyone give me the code get today date? . Thanks

Look at this dateutils.py


can you help fix in image ?

Therefor i need more information.
Which case the error show up?
Caused by your own code? If yes how it look like?
And so on…

Here . i add key “Today” at Default