Can anyone help me on how to get the time from the local settings of my computer? DateTime.Today seems to work for me, it gives me the date today. But I'm having a problem with the DateTime.Today.TimeOfDay. it just gives me the default time, which is 00:00:00. The time in my settings is correct, by the way.
any idea on how to get the time?
Dim tb2, tb1 As String
tb1 = DateTime.Today
tb2 = DateTime.Today.TimeOfDay.ToString
any idea on how to get the time?
Dim tb2, tb1 As String
tb1 = DateTime.Today
tb2 = DateTime.Today.TimeOfDay.ToString