Get Date Format

Hi,
I have date in my cell and cell type is date only but i want to get the format of my date
How can i get

@Amrinder_Singh,

I think you may use Style.Custom/CultureCustom or relevant attribute for your task. See the following sample code for your reference.
e.g.
Sample code:

Workbook wb = new Workbook("sample.xlsx");
Worksheet ws = wb.Worksheets[0];
Cells cells = ws.Cells;
//Get your Date/Time cell
Cell c = cells["A1"];

//Read cell number format
Style st = c.GetStyle();

//Get Date formatting
Console.WriteLine("Date formatting: " + st.Custom);

Hope, this helps a bit.