RE: [U2] [UV] Conversion code for week number {unclassified}

2007-07-10 Thread HENDERSON MIKE, MR
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


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Womack, Adrian
Sent: Wednesday, 11 July 2007 3:07 p.m.
To: u2-users@listserver.u2ug.org
Subject: [U2] [UV] Conversion code for week number

Does anyone know of a conversion code that returns the week number of
the year?

The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Conversion code for week number {unclassified}

2007-07-10 Thread Womack, Adrian
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/