17.05.2009, 16:10
Quote:
Originally Posted by 0xF29323
Quote:
|
you could change this to fit for days
pawn Code:
GetMonthName(name[])
{
new tmp,month;
getdate(tmp,month,tmp);
if(month==1)format(name,3,"JAN");
if(month==2)format(name,3,"FEB");
if(month==3)format(name,3,"MAR");
if(month==4)format(name,3,"APR");
if(month==5)format(name,3,"MAY");
if(month==6)format(name,3,"JUN");
if(month==7)format(name,3,"JUL");
if(month==8)format(name,3,"AUG");
if(month==9)format(name,3,"SEP");
if(month==10)format(name,3,"OCT");
if(month==11)format(name,3,"NOV");
if(month==12)format(name,3,"DEC");
}