27.11.2009, 22:59
Код:
getdateEx(bool:t=true){ new y,m,d, r[t?9:11]; getdate(y,m,d); t?format(r,9,"%d",d+100*m+10000*y):format(r,11,"%04d/%02d/%02d",y,m,d); return r; }
Код:
getdateEx(){ new y,m,d; getdate(y,m,d); return d+100*m+100000*y; }
Edit1: 'd re-read ur post, I just found I was doing wrong thing :{