Created
May 24, 2012 18:15
-
-
Save achvaicer/2783220 to your computer and use it in GitHub Desktop.
Excel de bosta!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Excel de bosta! http://stackoverflow.com/questions/727466/how-do-i-convert-an-excel-serial-date-number-to-a-net-datetime#727495 | |
if (dtnasc > 59) | |
DtNascimento = new DateTime(1899, 12, 31).AddDays(dtnasc); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment