Last active
October 23, 2018 13:56
-
-
Save nikolasd/1f8dc3b5e68c04254df887d1f974633c to your computer and use it in GitHub Desktop.
Pylon Script - Convert String to DateTime
This file contains 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
// Convert String to DateTime with ParseExact | |
docEntry.SetValue("OfficialDate", DateTime.ParseExact(Convert.ToString(listDic[0]["OfficialDate"]), "yyyy-MM-dd hh:mm:ss", System.Globalization.CultureInfo.InvariantCulture)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment