PROGRAM SELISIH WAKTU
Nama : SRIWAHYUNI
NIM : 19010020
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Text = DateDiff(DateInterval.Hour, DateTimePicker1.Value, DateTimePicker2.Value)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
TextBox1.Text = DateDiff(DateInterval.Minute, DateTimePicker1.Value, DateTimePicker2.Value)
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
TextBox1.Text = DateDiff(DateInterval.Second, DateTimePicker1.Value, DateTimePicker2.Value)
End Sub
End Class
Komentar
Posting Komentar