hi , sorry for my bad english..
i have this code in menu:
PHP Code:
new day[11], hour[11]
format_time(day, charsmax(day), "%d/%m/%Y", g_day[id])
format_time(hour, charsmax(hour), "%H:%M:%S", g_day[id])
formatex(menu, charsmax(menu), "Day: %d - Hour: %d", day, hour)
as i have a record of accounts, the creation of the account, establishing the date (day and time)
PHP Code:
g_day[id] = get_systime()
formatex(consult, charsmax(consult), "UPDATE `%s` SET `character` = '%s', `date` = '%d' WHERE `acc` = '%s'", SQL_TABLE, g_name[id], g_day[id], g_name2[id])
In short, I just want to know what type of SQL column is `date`, because it keeps the date and time, the truth would be grateful if I can help