G
Guest
I'm reading an excel file using C#, and it has a date column formatted like:
MM/DD/YYYY, I have code that is getting me the year but its also returning me
12:00 so it looks like this:
2002 12:00 AM, how can I only get the year and not the time as well?
the field looks like this:
1/1/2000 I only want the year
MM/DD/YYYY, I have code that is getting me the year but its also returning me
12:00 so it looks like this:
2002 12:00 AM, how can I only get the year and not the time as well?
the field looks like this:
1/1/2000 I only want the year