Thanks for that Mike. I'd forgotten about pickwiki. I found this function which should do the trick: http://www.pickwiki.com/cgi-bin/wiki.pl?IsoWeekNum
Thanks, Adrian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of HENDERSON MIKE, MR Sent: Wednesday, 11 July 2007 12:14 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] Conversion code for week number {unclassified} Adrian, This has been discussed before on the list. IIRC, there is no built-in U2 support (i.e. conversion code) for this, at least partly because it's one of those nasty 'depends what you mean' questions. For example, * is the first week in the year week # 0 or 1? * when does the first week start - the first day in the year, the first Sunday in the year, the first Monday, ... ? There is I believe an ISO standard, but that may not be what you want. There may be something in Pickwiki Regards Mike DISCLAIMER: Disclaimer. This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of this company unless this is clearly indicated. You should scan this e-mail and any attachments for viruses. This company accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail. ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/