Jan 5, 2004 #1 D Drstein99 Junior Contributor Joined Sep 26, 2003 Messages 283 Location Audubon, Nj How to I take the number of seconds (integer) and turn it into hours and minutes like "HH:MM" (string)?
How to I take the number of seconds (integer) and turn it into hours and minutes like "HH:MM" (string)?
Jan 5, 2004 #2 P PlausiblyDamp Administrator Joined Sep 4, 2002 Messages 6,471 Location Lancashire, UK quick and easy way is to use a TimeSpan Visual Basic: Dim ts As TimeSpan ts = TimeSpan.FromSeconds(<number of seconds here>) MessageBox.Show(ts.ToString())
quick and easy way is to use a TimeSpan Visual Basic: Dim ts As TimeSpan ts = TimeSpan.FromSeconds(<number of seconds here>) MessageBox.Show(ts.ToString())
Jan 5, 2004 #3 D Drstein99 Junior Contributor Joined Sep 26, 2003 Messages 283 Location Audubon, Nj perfect. thanks