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