Pulling a date from MySQL DB
#8

Quote:
Originally Posted by Jing_Chan
Посмотреть сообщение
Linking me to this page is practically useless information, I need EXAMPLES of how to adapt this knowledge to PAWN - perhaps some people would make sense of that information but me being new to it all I could do with some pointers.
No, it is not. You can see list of specifiers and format it the way you like.

pawn Код:
SELECT DATE_FORMAT(REGDATE, '%M %d, %Y %H:%i:%s') AS reg_date FROM ...
and then retrieve string, field name is "reg_date".
Reply


Messages In This Thread
Pulling a date from MySQL DB - by Jing_Chan - 06.08.2018, 13:11
Re: Pulling a date from MySQL DB - by Jing_Chan - 06.08.2018, 21:55
Re: Pulling a date from MySQL DB - by NeXTGoD - 06.08.2018, 22:39
Re: Pulling a date from MySQL DB - by Banditul18 - 06.08.2018, 23:00
Re: Pulling a date from MySQL DB - by Calisthenics - 07.08.2018, 08:35
Re: Pulling a date from MySQL DB - by Jing_Chan - 07.08.2018, 11:10
Re: Pulling a date from MySQL DB - by NaS - 07.08.2018, 12:32
Re: Pulling a date from MySQL DB - by Calisthenics - 07.08.2018, 13:19
Re: Pulling a date from MySQL DB - by Jing_Chan - 07.08.2018, 13:22
Re: Pulling a date from MySQL DB - by NaS - 07.08.2018, 14:13

Forum Jump:


Users browsing this thread: 2 Guest(s)