example: 2017-08-15
require output:15
from frappe.utils import getdate
getdate(“2017-08-15”).strftime(“%d”)
also i want to find last day of month for exmaple january=31
from frappe.utils import get_last_day
get_last_day(“2017-08-15”)
#return 31
thank you…
1 Like