Author Topic: Appropiate form to get arguments from a resbuf ?  (Read 6752 times)

0 Members and 1 Guest are viewing this topic.

LE

  • Guest
Re: Appropiate form to get arguments from a resbuf ?
« Reply #15 on: January 04, 2006, 10:02:10 AM »
Seeing it's become a discussion .. :-)

Wouldn't the result be determined by the local environment ie
ISO
US
etc ..

http://msdn2.microsoft.com/en-us/library/system.globalization.calendar.getweekofyear.aspx

the rules :
http://msdn2.microsoft.com/en-us/library/system.globalization.calendarweekrule.aspx


or, is that all handled by this call < from Micks >.
int nWeeknumber=date.getWeeknumber();

and does that mean there is NO definitive answer, because "It Depends" on the computer settings. ? ?


Thanks for those links Kerry,

Well, all I did was to do a research, for formulas, etc etc etc etc etc, others samples.... and reinvent the wheel again  :ugly:
Then I simple put it together all the pieces and built a function to get the week number.... and yep.... you are right it will depend on the machine settings.... at the end  :-)