Help

The Community will be undergoing maintenance from Friday February 21 - Friday, February 28 and will be "read only" during this time. To learn more, check out our Announcements blog post.

Necesito ayuda

Topic Labels: Base design
154 1
cancel
Showing results for 
Search instead for 
Did you mean: 
rossi-2007
4 - Data Explorer
4 - Data Explorer
DATETIME_DIFF(
  TODAY(),
  {Fecha de nacimiento},
  "years"
) 
" años, " 
(DATETIME_DIFF(
    TODAY(),
    {Fecha de nacimiento},
    "months"
  ) - 
  DATETIME_DIFF(
    TODAY(),
    {Fecha de nacimiento},
    "years"
  ) * 12
)
" meses"
 
 
 
como hago para que en vez de contar hasta hoy, se cuente hasta una fecha exacta?
1 Reply 1
ibayub
6 - Interface Innovator
6 - Interface Innovator

Simplemente reemplace TODAY() con la fecha deseada usando DATE_TIME_PARSE para las 3 instancias de TODAY(), (Google Translate 🙂

Just replace Today () with the desired date using DATE_TIME_PARSE for all 3 instances of TODAY(), e.g. 

DATETIME_DIFF(
DATETIME_PARSE("2025-01-28"), // Replace with your target date
{Fecha de nacimiento},
"years"
)

etc.