Link to home
Start Free TrialLog in
Avatar of TroyCrowe
TroyCroweFlag for United States of America

asked on

C#, ie 7.0, string format

I have created a datatable from a excel document.  I have a date that is reading in a number value like this 38718.  I need that value to be a small date value and converted into a string.  The tostring() method does not accomplish this
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Did you try the tostring with a formatting ?
d.tostring("yyyymmdd")
ASKER CERTIFIED SOLUTION
Avatar of dstanley9
dstanley9

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you give some feedback if it one of the answer was sufficient or do you still have any problems ?