Quote:
Originally Posted by pyrodave
To split the dates as you have up, you could use sscanf:
pawn Код:
new year,month,day; sscanf("2012-02-23","p<->ddd",year,month,day); printf("Year: %d Month: %d Day: %d",year,month,day); //Prints "Year: 2012 Month: 2 Day: 23"
|
Oh, thank you will try that
thanks for the fast and easy answer ^^