codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Current date in mysql curdate()

    8th October 2013


    mysql codehaven category

    This will produce 2013-10-29

    Another example is

    Tomorrows date

    And some more interesting ways…

    And another

    More info here about other formats like hour etc

    Was this code snippet helpful?