public static DateOnly TruncateToYear( this DateOnly dt )
Dim dt As DateOnly Dim returnValue As DateOnly returnValue = dt.TruncateToYear()
public: [ExtensionAttribute] static DateOnly TruncateToYear( DateOnly dt )
No code example is currently available or this language may not be supported.
In This Article