Claudine: I guess it would depend on how you define the week, i.e. the first week is the first 7 days of the year? Or the first week of the year end on the first Sunday of the year (week goes from Monday- Sunday)? Or the first week of the year ends on the first Saturday of the year (week goes from Sunday-Saturday, payroll people seem to like this one...)? Once you determine which is the first week of the year, the rest should be fairly simple. Javier,
Javier Valencia, PE President Valencia Technology Group, L.L.C. 14315 S. Twilight Ln, Suite #14 Olathe, Kansas 66062-4578 Office (913)829-0888 Fax (913)649-2904 Cell (913)915-3137 ================================================ Attention: The information contained in this message and or attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all system and destroy all copies. ====================================================== -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Behalf Of Claudine Robbins Sent: Wednesday, June 15, 2005 2:47 PM To: RBG7-L Mailing List Subject: [RBG7-L] - Number of weeks Hi everyone, Jean-Marc Masse wants to know... set var vidweek = (idwk(.#date)) yields 3, integer for the third day of the week of the current month. set var vimonth = (imon(.#date)) yields 6, integer for the sixth month of the year. How would one go about finding out the week of the current year, i.e. currently 24? TIA, Claudine :)
