Findings and Notes in Web Development

SQL

Magic SQL

Ever wanted to find the number of days between two dates without counting weekend (Saturdays and Sundays)? In PHP you typically needs to do a lot of calculation and a lot of factors needs to be considered. Therefore, in the end you will end up having a whole bunch of code that you will probably start asking yourself whether you are programming a web-calendar or something similar.

Continue reading

  • Post Meta

    • Jeffrey04
    • SQL
    • No comments
    • 2008-09-3
    • 21:21