p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

csharptoday_discuss thread: How to make analog of DatePart in C#

Message #1 by "Igor Savin" <soniko@m...> on Tue, 18 Mar 2003 08:56:11
VB code:

Dim nWeek
nWeek = DatePart("ww", dtFrom, vbMonday)

I would like to make similar in C#. But there's no DatePart() in .NET 
Framework. How can it be worked around?

  Return to Index