public static DateOnly TruncateTo(
this DateOnly dt,
DateTimeExtensionsDateTruncate TruncateTo,
CultureInfo? cultureInfo = null
)
Dim dt As DateOnly
Dim TruncateTo As DateTimeExtensionsDateTruncate
Dim cultureInfo As CultureInfo
Dim returnValue As DateOnly
returnValue = dt.TruncateTo(TruncateTo,
cultureInfo)
public:
[ExtensionAttribute]
static DateOnly TruncateTo(
DateOnly dt,
DateTimeExtensionsDateTruncate TruncateTo,
CultureInfo^ cultureInfo = nullptr
)
No code example is currently available or this language may not be supported.