Home Email My Account

SQL - How to extract month from year

In this example dob is the database column and we would like to extract the month from date dob '2010-01-01'.

We can use the SQL function month()

month(dob) = 01

Last Updated: June 3, 2020

Comments

First Name:*
Last Name:*
Email:*
Comment:
Rating:

Domain Registration

Hosting

Website Builder

Web Design

SSL Certificates

Website Security

Microsoft 365

SEO

Email Marketing

Contact Support

WHOIS

© 2025 Fagan Media