15.09.2016, 13:09
PHP код:
new date[11], time[11], year, month, day, hour, minute, second;
sscanf("2016-09-15 08:36:21", "s[11]s[11]", date, time);
sscanf(date, "p<->ddd", year, month, day);
sscanf(time, "p<:>ddd", hour, minute, second);