VB.Net 타이머와 날짜 및 시간
*
Public Class Form1

Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
Dim dt1 As Date = Date.Now
Dim dt2 As Date = Date.UtcNow
Dim dt3 As Date = Date.Today
Label1.Text = dt1 & Environment.NewLine & dt2 & vbCrLf & dt3

End Sub
End Class

sad.PNG

 

이 게시물을

댓글'2'
VNote (작성자)
  • 2018.03.12
  • 수정: 2018.03.12 08:27:10

dim myToday as string = Date.Today.ToString("yyyyMMdd")

 

 

이 댓글을

어제 날짜

DateAndTime.Today.AddDays(-1).ToString("yyMMdd")

이 댓글을

공유하기

SEARCH

MENU NAVIGATION