PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Re: How to get weeknumber from a date

Reply

Re: How to get weeknumber from a date

 
Thread Tools Rate Thread
Old 03-06-2005, 08:34 AM   #1
Armin Zingler
Guest
 
Posts: n/a
Default Re: How to get weeknumber from a date


"Chris Zopers" <test123test12@12move.nl> schrieb
>
> Does anyone know how to get the weeknumber from a date? I need a
> function that accepts a date as an argument and that returns the
> weeknumber from that date.



MsgBox(Globalization.CultureInfo.CurrentCulture.Calendar.GetWeekOfYear( _
Date.Now, Globalization.CalendarWeekRule.FirstFourDayWeek, _
DayOfWeek.Monday _
))


But, why the attachment?


Armin

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off