Timestamp problems [REP+]
#6

Quote:
Originally Posted by Jefff
Посмотреть сообщение
tmp is from the first cache_get_field_content(0, "LastLogin", tmp)
pawn Код:
format(str,sizeof(str),"SELECT DATE_FORMAT( '%s' , '%M %d %Y %h:%i:%s' ) AS LastLogin;",tmp);
query_here
cache_get_field_content(0, "LastLogin", tmp);
should returns "November 29 2013 01:06:37"

http://dev.mysql.com/doc/refman/5.5/...on_date-format
Well it seems to work, but I can't get what happened with PInfo[playerid][pLastLogin] ? Or actually which placeholder should I use to show in the message ?
Reply


Messages In This Thread
Timestamp problems [REP+] - by Wizzy951 - 28.11.2013, 01:07
Re: Timestamp problems [REP+] - by Wizzy951 - 28.11.2013, 18:49
Re: Timestamp problems [REP+] - by iJumbo - 28.11.2013, 19:24
Re: Timestamp problems [REP+] - by Wizzy951 - 28.11.2013, 22:50
Re: Timestamp problems [REP+] - by Jefff - 28.11.2013, 22:57
Re: Timestamp problems [REP+] - by Wizzy951 - 29.11.2013, 00:14
Re: Timestamp problems [REP+] - by Jefff - 29.11.2013, 01:13

Forum Jump:


Users browsing this thread: 1 Guest(s)