Posts: 1,176
Threads: 2
Joined: Nov 2012
Reputation:
0
where did u IsMonth29 used?
Posts: 124
Threads: 3
Joined: Oct 2011
Reputation:
0
The code seems fine, albeit unnecessary as there are better ways of turning, what I assume to be, timestamps to actual dates (there are includes written that get the job done).
But back on topic, I thought only strings can receive this error. But you're obviously working with ints, right?
I, personally, don't see what could be causing that problem in the code you provided, as it currently says that you are trying to format a string when you can't actually do that, if I'm not mistaken.
I'd be great to see more code, maybe both the /ban command and this entire conversion part that you showed so far.
Posts: 109
Threads: 28
Joined: Feb 2017
Reputation:
0
Ok, so with timestamps is more good, you can give me an example how to do, or a tutorial?