Equivilent of VB's DatePart

  • Thread starter Thread starter Ryan Ternier
  • Start date Start date
R

Ryan Ternier

I'm trying to find an equivilent function to VB's DatePart function.

I have a Year, Month, the Day of week (Sunday, monday etc.) and the week
(week 1, week 2) and I need to find the date of that month.

Can anyone help me with this?


/RT
 
There are instance properties available on DateTime variables (e.g., Day)
--
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant J#: VB.NET to J# Converter
Clear VB: Cleans up outdated VB.NET code
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top