meine Sys/Db admin & Developper Notitzen - wer Rechtschreibfehler findet darf sie behalten ...
my Sys/Db Admin and developper notes - I don't care about typos
Thursday, February 09, 2017
.net Formating Timespans
Date Format strings don't work on timespans => have to to it myself
Dim ts As TimeSpan = New TimeSpan(0,3,5)
Dim s As String = String.Format("{0} {1:00}:{2:00}:{3:00}", ts.Days, ts.Hours, ts.Minutes, ts.Seconds)
No comments:
Post a Comment