In cheque printing how to print the date in each column,tried increase the font size

In cheque printing how to print the date in each column,tried increase the font size

You can try the code below, insert into HTML section
{{frappe.utils.get_datetime(doc.posting_date).strftime('%d')[:1]}}
{{frappe.utils.get_datetime(doc.posting_date).strftime('%d')[1:2]}}
{{frappe.utils.get_datetime(doc.posting_date).strftime('%m')[:1]}}
{{frappe.utils.get_datetime(doc.posting_date).strftime('%m')[1:2]}}
{{frappe.utils.get_datetime(doc.posting_date).strftime('%Y')[:1]}}
{{frappe.utils.get_datetime(doc.posting_date).strftime('%Y')[1:2]}}
{{frappe.utils.get_datetime(doc.posting_date).strftime('%Y')[2:3]}}
{{frappe.utils.get_datetime(doc.posting_date).strftime('%Y')[3:4]}}
You must set the distance between them via CSS
Thanks its worked well.
for Formatting βDD-MM-YYβ
{{
frappe.utils.get_datetime(doc.date).strftime(β%dβ)[:2]+β-β+
frappe.utils.get_datetime(doc.date).strftime(β%mβ)[:2]+β-β+
frappe.utils.get_datetime(doc.date).strftime(β%Yβ)[2:]
}}
@hendrik_zeta Thank you itβs work for me