How to get month and year from start date in Salary slip

Hi @Eranna,

Please apply it.

<b style="text-transform: uppercase;"> Salary Slip of 
{{ frappe.utils.get_datetime(doc.start_date).strftime('%B - %Y') }}
</b>

Output:

Thank You!

1 Like