I am using the unix time stamp for a time stamp for a remote tool. The issue is that the code below converts to be exactly two hours ahead of my real system time. Any ideas???
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim n As Double
n = (My.Computer.Clock.LocalTime.UtcNow - New DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds
MessageBox.Show("The time is" + My.Computer.Clock.LocalTime.ToString + ", file time: " + n.ToString)