Oops, i forgot this line that was for debug :
{ print " epoc "epoc" wipmin "wipmin" second "second" wipheure "wipheure" minute "minute" wipjour "wipjour" hour "hour" year "year" wipjour_an "wipjour_an" yearday "yearday" day "day" month "month" weekday "weekday }
Of course you don't want it in...
I found some things and then complete it to create a strftime function that works the same way as the gawk one :
function weeknumber(flag)
{
local n;
if (flag == "U") return int((yearday + 5 - (weekday-1)) / 7);
if (flag == "W") return int((yearday + 5 - ((weekday>1) ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.