Thanks for the additional information. The requirements are clear.
I shall assume that you have already set up a MariaDB datasource in the ColdFusion Administrator. Let's say the datasource is called yourMariaDBDatasourceName?
(If you haven't set up a MariaDB datasource in the ColdFusion Administrator, then let us know. We'll be able to assist.)
A solution:
<!--- Save this code as a CFM page and launch it in a browser --->
<cfset todayDate_year=year(now())>
<cfset todayDate_month=month(now())>
<cfset todayDate_day=day(now())>
<cfset oneSecondAfterMidnightToday=createdatetime(todayDate_year,todayDate_month,todayDate_day,0,0,1)>
<!---
SQL dialect = MySQL.
UNIX_TIMESTAMP() represents the current UNIX epoch time. That is,
the number of seconds that have elapsed since January 1 1970 00:00:00 GMT.
UNIX_TIMESTAMP(#oneSecondAfterMidnightToday#) is the UNIX epoch time 1 second after midnight.
--->
<cfquery name="todayProcesses" datasource="yourMariaDBDatasourceName">
SELECT pid
FROM forums_posts
WHERE post_date BETWEEN UNIX_TIMESTAMP(#oneSecondAfterMidnightToday#) AND UNIX_TIMESTAMP()
</cfquery>
<cfdump var="#todayProcesses#" label="Today's processes">