See my example here: https://modelshare.mendix.com/models/505c8e9c-5d5b-4eee-a0c7-6a0c54c5f23f/user-retrieve
If it is not today but another day use the addDays function to change the date.
Regards,
Ronald