Hi,
I’m writing server script(via ERPNext) and now() function does not work.
Is there any way to get the time for datetime field in custom doctype?
You can get the current time in server script via
frappe.utils.now()
1 Like