I am being passed a date in this format DepartDate=40683, in vb.net
however i cant figure out how to convert the integer into a regular date
I am being passed a date in this format DepartDate=40683, in vb.net however i
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If it’s an SQL Server it’s likely the internal storage format of the date that you are getting, which is the number of days since 1900-01-01. You can use the
DateTime.AddDaysmethod to convert it. Example: