Ms > Ms Assembly Interfaces > ITimeSeries > ITimeSeries.StartDate
StartDate: DateTime;
The StartDate property returns start calendar point for series.
This example describes custom method. The data series is passed by points.
Add links to the MathFin and Ms system assemblies.
Public Function UserFunc(Input: ITimeSeries): Double;
Begin
If Input.StartDate < DateTime.Now
Then Return Math.Log10(Input.CurrentValue);
Else Return Double.Nan
End If;
End Function UserFunc;
This method returns the natural series logarithm if its initial calendar point is less than the current date.
See also: