Skip to content
Manual Crono SQL

iso_month

La función iso_month convierte una fecha en una cadena de texto con formato YYYY-MM.

Es útil para agrupar registros por mes de forma ordenable y sin ambigüedades.

select iso_month('2025-06-15') resultado;

El resultado es:

2025-06

Was this page helpful?

We are here to help. If you have any problem or question, open a GitHub issue and we will get back to you as soon as possible.

Create a GitHub issue