[ic] Using convert-date to convert an integer into weekdays

Rene Hertell interchange-users@icdevgroup.org
Thu Sep 5 18:26:01 2002


> What do you mean it doesn't work? In strftime, %a means "the abbreviated
> weekday name according to the current locale".
>
> Since you are passing it "1", that means that Jan 1, 1970 must have
> been a Wednesday. Or whatever 1 works out to....

Sorry for this mess.. I though that by passing a value, and specifying what
the value is with the fmt parameter, you'll get it converted to a weekday...

I guess I'll have to take a nap :-)


Rene