Write Excel Date format

Hi
i want to write date like this
please help me

You will use Date.ToString(“dd-MM-yy”)

You should create something like DateTime.today.ToOADate

This Will return a double which corresponds with the excel format

hi @2coms

It may already be reflected in the “cell form.”
Write it on a new Excel file.

thanks @tdhaene i am applying

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.