daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Aug 19th, 2018 67 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. VB.NET - any string to date conversion
  2. DateTime myDate =
  3.     DateTime.ParseExact("2009-05-08 14:40:52,531",
  4.                         "yyyy-MM-dd HH:mm:ss,fff",
  5.                         System.Globalization.CultureInfo.InvariantCulture)
  6.    
  7. Dim format() As String = {"dd-MM-yy", "dd/MM/yy"}
  8.  
  9. Dim myDate As DateTime = DateTime.ParseExact("2009-05-08 14:40:52,531",format,
  10.                       System.Globalization.CultureInfo.InvariantCulture))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top