“ciąg do daty VB” Kod odpowiedzi

ciąg do daty VB

string iDate = "05/05/2005";
DateTime oDate = Convert.ToDateTime(iDate);
MessageBox.Show(oDate.Day + " " + oDate.Month + "  " + oDate.Year );
Gorgeous Gaur

ciąg do daty VB

Dim iDate As String = "05/05/2005"
Dim oDate As DateTime = Convert.ToDateTime(iDate)
MsgBox(oDate.Day & " " & oDate.Month & "  " & oDate.Year)
Worried Wasp

Odpowiedzi podobne do “ciąg do daty VB”

Pytania podobne do “ciąg do daty VB”

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu