Firstly, apologies for how obvious these two questions seem to be; I\'m very very new to this and don\'t have a clue what I\'m doing.
I\'m trying to write something to a
I encountered a similar error when I called timezone.now instead of timezone.now(). I then tried to format the DateTime value that I was expecting. But it wasn't a DateTime; it was a function. This resulted in an error message about 'Month' not being an attribute of 'function'.
The fix was to simply add the parentheses after now. This called the now function and returned its result, instead of returning the now function object itself.
Silly mistake, I know. But not easy to troubleshoot.