Click here to Skip to main content
15,918,808 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: get number of weeks from given year Pin
originSH4-Jan-08 3:09
originSH4-Jan-08 3:09 
GeneralRe: get number of weeks from given year Pin
Tom Deketelaere4-Jan-08 5:10
professionalTom Deketelaere4-Jan-08 5:10 
GeneralRe: get number of weeks from given year Pin
originSH4-Jan-08 5:29
originSH4-Jan-08 5:29 
GeneralRe: get number of weeks from given year Pin
Thomas Krojer7-Jan-08 1:25
Thomas Krojer7-Jan-08 1:25 
GeneralRe: get number of weeks from given year Pin
Tom Deketelaere7-Jan-08 1:37
professionalTom Deketelaere7-Jan-08 1:37 
GeneralRe: get number of weeks from given year Pin
Thomas Krojer7-Jan-08 2:31
Thomas Krojer7-Jan-08 2:31 
GeneralRe: get number of weeks from given year Pin
ChandraRam4-Jan-08 1:07
ChandraRam4-Jan-08 1:07 
GeneralRe: get number of weeks from given year Pin
Tom Deketelaere4-Jan-08 1:23
professionalTom Deketelaere4-Jan-08 1:23 
yes this would be true if there was only 1 way the weeknumbers are calculated in the world but as it stands there are 3 major ways and these then have different ways that need to be calculated still

let me explain a bit more

in the world there are 3 kind of weeksystems
- week 1 is where 1/1/YYYY fals into
- week 1 is the first week of the year that has 4 full days in the new year
- week 1 is the first full week of the new year
and then there is also the posibility that the week starts at a different day
usually its monday but on occasion its sunday (or in extreem cases any other day)


say 1/1/2008 is a thuesday (as it is now) then 2007 has 52 weeks (if start of week = monday or sunday)
say 1/1/2008 is a thursday (as 3/1/2008 is now) then 2007 has 52 weeks if start of week = monday but has 53 weeks if start of week = sunday

If my help was helpfull let me know, if not let me know why.

The only way we learn is by making mistakes.

GeneralRe: get number of weeks from given year Pin
ChandraRam4-Jan-08 1:36
ChandraRam4-Jan-08 1:36 
GeneralRe: get number of weeks from given year Pin
Tom Deketelaere4-Jan-08 2:08
professionalTom Deketelaere4-Jan-08 2:08 
Question'Charset' is not accessible in this context because it is private. Pin
Hemesh3-Jan-08 22:59
Hemesh3-Jan-08 22:59 
GeneralRe: 'Charset' is not accessible in this context because it is private. Pin
Dave Kreskowiak4-Jan-08 4:25
mveDave Kreskowiak4-Jan-08 4:25 
GeneralRe: 'Charset' is not accessible in this context because it is private. Pin
Hemesh7-Jan-08 22:55
Hemesh7-Jan-08 22:55 
GeneralDate Time value Pin
BOREC3-Jan-08 22:38
BOREC3-Jan-08 22:38 
GeneralRe: Date Time value Pin
BOREC3-Jan-08 23:57
BOREC3-Jan-08 23:57 
QuestionRe: Date Time value Pin
tellytub5-Jan-08 20:15
tellytub5-Jan-08 20:15 
GeneralRe: Date Time value Pin
infotools4-Jan-08 20:26
infotools4-Jan-08 20:26 
GeneralPlease help me convert this VBS to VB.NET code. I want to try and figure out if this is the problem in my ssis package. [modified] Pin
Support1233-Jan-08 21:43
Support1233-Jan-08 21:43 
GeneralWebbrowser Control Plz Help Pin
King of Kingz3-Jan-08 21:28
King of Kingz3-Jan-08 21:28 
GeneralRe: Webbrowser Control Plz Help Pin
Christian Graus3-Jan-08 23:44
protectorChristian Graus3-Jan-08 23:44 
QuestionHow can I communicate with an sd card ? Pin
Big Ralph3-Jan-08 21:27
Big Ralph3-Jan-08 21:27 
AnswerRe: How can I communicate with an sd card ? Pin
nishkarsh_k3-Jan-08 22:02
nishkarsh_k3-Jan-08 22:02 
GeneralRe: How can I communicate with an sd card ? Pin
Big Ralph3-Jan-08 22:04
Big Ralph3-Jan-08 22:04 
GeneralRe: How can I communicate with an sd card ? Pin
nishkarsh_k3-Jan-08 22:08
nishkarsh_k3-Jan-08 22:08 
GeneralRe: How can I communicate with an sd card ? Pin
Big Ralph3-Jan-08 22:10
Big Ralph3-Jan-08 22:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.