Timestamp...
#7

pawn Код:
timestamp(&year, &month, &day, &hour, &minute, &second, string[], string_size = sizeof string)
{
    getdate(year, month, day);
    gettime(hour, minute, second);

    format(string, string_size, "%i-%02i-%02i %02i:%02i:%02i",
        year, month, day, hour, minute, second
    );
}
Reply


Messages In This Thread
Timestamp... - by Baltimore - 18.01.2015, 11:41
Re: Timestamp... - by ATGOggy - 18.01.2015, 11:46
Re : Re: Timestamp... - by Baltimore - 18.01.2015, 11:56
Re: Timestamp... - by xVIP3Rx - 18.01.2015, 12:22
Re: Timestamp... - by RedFusion - 18.01.2015, 12:22
Re : Re: Timestamp... - by Baltimore - 18.01.2015, 12:47
Re: Timestamp... - by RedFusion - 18.01.2015, 12:54
Re : Re: Timestamp... - by Baltimore - 18.01.2015, 13:08
Re: Timestamp... - by tyler12 - 18.01.2015, 13:11
Re: Timestamp... - by RedFusion - 18.01.2015, 13:12

Forum Jump:


Users browsing this thread: 1 Guest(s)