0

I'm trying to make a custom time stamp on a program with the current time zone. I have no real good idea how to get it. All I know is that it starts with TimeZoneInfo. Any help would be appreciated. This is what I got so far:

Dim d1 As Date = Now
Label1.Text = ("#" + d1.ToString("ddd" & " " & "MMM" & " " & "dd" & "IN HERE GOES TIMEZONE" & "hh:mm:ss" & " " &  & DateTime.Now.Year))

I'm hoping to be able to use the loacl computer's time to convert it.

Viper151
  • 30
  • 8

1 Answers1

0

Try

Dim d1 As Date = Now
Label1.Text = ("#" + d1.ToString("ddd MMM dd hh:mm:ss yyyy")
ste-fu
  • 6,879
  • 3
  • 27
  • 46