SyntaxFix
Write A Post
Hire A Developer
Questions
To just get a date you can cast it
cast
cast(user.registration as date)
and to get a specific format use date_format
date_format
date_format(registration, '%Y-%m-%d')