表紙へ

VB.NET

年・月・日の値から日付型の値を作る

 


TextBox1.Text = New Date(2004, 9, 10)
 

この例の右辺は日付型の値 #9/10/2004# となる。