from datetime import causes error with today() function
Posted: Thu Feb 18, 2016 3:02 pm
Hi,
When I add the following import statement to my jython library (outside of a function):
from datetime import datetime, timedelta
today() starts returning the error
Why is that? It seems okay to use the import within a function definition, so that is what I am going to do.
Joleen
When I add the following import statement to my jython library (outside of a function):
from datetime import datetime, timedelta
today() starts returning the error
Why is that? It seems okay to use the import within a function definition, so that is what I am going to do.
Joleen