Search
Generic filters
Exact matches only

Dropdown with Months Auto Selected Current Month

26th July 2019

Php - Dates & Time

php codehaven

This code will select the current month and have it appear as the first shown option in the dropdown. Very handy for forms.

Was this code snippet helpful?

Comment on this Code Snippet?