SyntaxYear(DateTime)CopyCopiedExamplesYear(Today())CopyCopied2026Official documentation on Microsoft Learn ↗← PreviousWith