19.04.2010, 01:30
Quote:
Originally Posted by © ŦĥЗ ǺĽẽẌṖŎịŚỘń
you need this?
Код:
stock GetDMY(&day, &month, &year) { new d, m, y; getdate(y, m, d); day = d; month = m; year = y; return 1; } |
pawn Код:
//well anyways here is it, not tested
//lets say you have stored the value in a string called "Date"
new Date[2],Month[2],Year[2];
strmid(Day, Date, 0, 1);
strmid(Day, Month, 2, 3);
strmid(Day, Year, 4, 7);