79221540

Date: 2024-11-25 03:25:06
Score: 2
Natty:
Report link

import openpyxl as op import datetime as dt

wb = op.load_workbook("Date_format.xlsx") ws = wb["Sheet1"]

your_date = ws.cell(row=1, column=1).value your_formatted_date = your_date.strftime("%d-%b-%y") print(your_formatted_date)

22-Nov-21

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Methre Sainath