Welcome Guest, Not a member yet? Register   Sign In
Parsing datetime from MySQL
#12

[eluser]Zeeshan Rasool[/eluser]
Quote:@lenwood Now that you see how I’m accessing the data, do you still think it would be better to use SQL statements for the date & time?

I think if you use mysql function then you can do this whole process easily. If you need date in some other format then just add your format in query. As my experience its very good approach and no need to put php functions involved any more.
@mddd is showing the way to get date and time in mysql query.


Messages In This Thread
Parsing datetime from MySQL - by El Forum - 04-11-2010, 06:15 PM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 12:46 AM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 12:55 AM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 01:02 AM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 07:23 AM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 07:30 AM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 07:34 AM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 10:01 AM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 10:19 AM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 04:59 PM
Parsing datetime from MySQL - by El Forum - 04-12-2010, 05:12 PM
Parsing datetime from MySQL - by El Forum - 04-13-2010, 12:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB