.TimeString with day count > 1 month without day rollover?
Posted: Thu Jun 08, 2017 11:13 pm
Hello Arction Support:
I am finally back into plotting
I need to present the elapsed time range between 2 cursors, I currently am using this to present the time range.
It fails to present the proper day count when range is more than 1 month, and when I add the Month format specifier, it always calculates the day count as 31 (because a 1 month range assumes January's 31 day count? i presume)
How can I present an accurate elapsed time range that can span several months?
I would love to be able to use something like "ddd:HH:mm:ss.ffff"...
(to display 1 year and 4 days would be 369:12:21:14.2034)
Thanks,
Heather
I am finally back into plotting
I need to present the elapsed time range between 2 cursors, I currently am using this to present the time range.
Code: Select all
DeltaX2X1.Text = _chart.ViewXY.XAxes[0].TimeString(cursorX2.ValueAtXAxis - cursorX1.ValueAtXAxis, "dd:HH:mm:ss.ffff");
How can I present an accurate elapsed time range that can span several months?
I would love to be able to use something like "ddd:HH:mm:ss.ffff"...
(to display 1 year and 4 days would be 369:12:21:14.2034)
Thanks,
Heather