Jump to content

[SOLVED] Determining Date Passage


smc

Recommended Posts

i personally maintain the principle that one should use MySQL to its full advantage.  that being said, you can simply run a query like so:

 

SELECT stuff FROM table WHERE date_column >= DATE_SUB(NOW(), INTERVAL 6 MONTH)

 

have a look at MySQL's built-in functions, they have a fair number of especially useful ones.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.