I have a variable(double) that holds a acumulation of seconds.
I would like to use timespan to format this into hours:min:seconds for display purposes, but I can't seem to find how I would assign this acumulated value to a timespace.
C# .net 2.0
Add() Method in C# This method is used to a get new TimeSpan object whose value is the sum of the specified TimeSpan object and this instance. Syntax public TimeSpan Add (TimeSpan t);
Current Selected Time Interval Time(TimeSpan?): Defines the current selection of time interval. The default value is null.
Use the TimeSpan.FromSeconds method.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With