Convert Seconds to Days, Hours, Minutes, Seconds
Category:Dates and Math
This function takes seconds and a predefined format as a parameter and returns a neatly formatted time string. See code comments for explanation of the formats.
Instructions: Copy the declarations and code below and paste directly into your VB project.