grail;
i've used this function and it's doing the job
Code:
function ConvAST_To_GMT(timestamp)
{
c="date -ud "timestamp;
out=c|getline;
close(c);
return $0;
}
and i call it using IT="@" InFields[9] this as argument
where InFields[9] is the timestamp output from mktime
Another question is i have time like hh:mm
i want to concatenate 00 as ss
so that i can send the output to mktime
i tried this
DenyTimePart=OutDenials[11] "" ":" "00";
and so many other variation but none of them did the job