Hi Max. I would just like to ask what module do I need ti import in order to use frappe.dateime.nowdate()?
from frappe.utils import nowdate, now_datetime
now_datetime()
1 Like
I am not able to import the frappe.datetime module in server script.
but able to use in console
how to import. thank you
Console code :
frappe.datetime.get_today() == frappe.datetime.get_datetime_as_string(cur_frm.complete_date)
output:
false
Just try this:
frappe.utils.today()
Just try this:
frappe.utils.today()
1 Like