Created
December 20, 2017 15:59
-
-
Save codenamejason/7c5545d2d70167a48a74630990a65ef8 to your computer and use it in GitHub Desktop.
get local datetime
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
var localdate = DateTime | |
.Parse(theTransaction.TransactionDate.ToString(), | |
CultureInfo.InvariantCulture, | |
DateTimeStyles.AssumeLocal) | |
.ToString(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment