I haven't checked out your function yet Malte, but my DateTime library
<http://www.troz.net/rev/stacks/DateTime.rev>
has a weekNumISO() function contributed by the late, great Eric Chatonet.

Cheers,
Sarah


On Mon, Mar 29, 2010 at 6:52 AM, Malte Pfaff-Brill
<revolut...@derbrill.de> wrote:
> Hi all,
> I needed to calculate the calendar week from a given date (as we do it in 
> germany and I think also in the rest of europe).
> I quickly hacked together a function implementing some of the info found 
> here: http://en.wikipedia.org/wiki/ISO_8601#Week_dates
> If anyone has any pointers on how to make this better, I´d appreciate input. 
> I hope if anyone needs to implement calendar weeks
> later this might be a helpful thread.
>
> Cheers,
>
> Malte
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to