Posts: 1,018
Threads: 320
Joined: Jul 2010
Hello how can I save date format in mysql like 07/06/2014 beacuse recenty I was trying to do and nothing I was set that to varchar in mysql table and from first somehow it won't work with this // and I was put llike %d%d%d day,month,year and then in mysql table last activity it was I think 2014-6-7 but I want 07/06/2014 if you know what I mean in that format I was trying everything but I didn't manage to work it out? Thanks
Posts: 244
Threads: 55
Joined: Nov 2013
Reputation:
0
I don't think it's possible, unless you use another field for each parameter.
Posts: 1,018
Threads: 320
Joined: Jul 2010
but how then was in one field this 7-6-2014 but I want it 7/6/2014
edit: is it possible to edit the timestamp to format which I need I know use timestamp and goes like 2014-6-7 and there in that field also are time but I don't want that just date. Thanks
Posts: 1,018
Threads: 320
Joined: Jul 2010
where that is go and from your table are you mean on that variable on name of column which is lastactivity and is it a way to remove the time and just leave date.
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Why do I honestly still bother. Go and read that page I linked. There are a bunch of examples there. Or ask ******.
Posts: 1,018
Threads: 320
Joined: Jul 2010
I understand more or less how to do it just one more question is that select etc.. go under onplayerdisconnect