Date Object For Future or Past – Easy Monthwise or Datewise Records Selection Using PHP
Monday, October 20th, 2008 | Posted in
Date & Time, Select, Tricks, Useful Scripts, php mySQL |
1 Comment
If you have to create a date object of future or past, you can do it by using the second parameter of PHP date function. This is extremely useful when doing BETWEEN comparison in MySQL. You can build the date and bind it to query.
Posted in: Date & Time, Select, Tricks, Useful Scripts, php mySQL
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment
