Concept Flow - EXTRACT function for date parts
Start with a timestamp/date
Call EXTRACT(part FROM timestamp)
Identify requested part (year, month, day, etc.)
Retrieve that part from the timestamp
Return the extracted value as a number
End
The EXTRACT function takes a date or timestamp and returns the requested part (like year or month) as a number.