tsp1lrk
01-21-2004, 07:49 AM
Hello,
I'm trying to figure out code for a calculation I'm working with- I need to determine a date and a year from the following information: (uses the 2nd number)
237= 2(2002); 37 - 13 = Week 24 of 2002 = June 2002
Another one:
212= 2(2002); 12 - 13 = Week 51 of 2001 = December 2001
Using a different number:
437 = 4(2004); 37 – 13 = Week 24 of 2004 = June 2004
These numbers are random, but are always 3 digits, the first one indicates the year- the second 2 need to be subtracted from 13. HELP!
I'm using ASP.net/VB.net but could use a Javscript I'm sure; I have 2 textboxes (Or I guess I could use one as well) to collect the info. I'm stuck trying to determine how to begin- Can anyone help me? Appreciate any insight on this one-
Thanks,
Lisa
I'm trying to figure out code for a calculation I'm working with- I need to determine a date and a year from the following information: (uses the 2nd number)
237= 2(2002); 37 - 13 = Week 24 of 2002 = June 2002
Another one:
212= 2(2002); 12 - 13 = Week 51 of 2001 = December 2001
Using a different number:
437 = 4(2004); 37 – 13 = Week 24 of 2004 = June 2004
These numbers are random, but are always 3 digits, the first one indicates the year- the second 2 need to be subtracted from 13. HELP!
I'm using ASP.net/VB.net but could use a Javscript I'm sure; I have 2 textboxes (Or I guess I could use one as well) to collect the info. I'm stuck trying to determine how to begin- Can anyone help me? Appreciate any insight on this one-
Thanks,
Lisa