Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date string is converted to DateTime #170

Open
SoundarRBT opened this issue May 17, 2019 · 1 comment
Open

Date string is converted to DateTime #170

SoundarRBT opened this issue May 17, 2019 · 1 comment

Comments

@SoundarRBT
Copy link

SoundarRBT commented May 17, 2019

We have column name 'Date' and it's value as '31/12/2019', this value is automatically converted DateTime to '31/12/2019 12:00:00 AM' which we don't want to. We want to treat it as plain string. not as DateTime.
Please help to get us any solution.

Between thanks for the great library!

@LinqManJr
Copy link

may be you need to create string propertie as DateTime with this column in attributes?
Like that
[ExcelColumn("ThisDateColumn")]
public string ThatColumnWithDateAsString { get; set; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants