Yes. The current date/time is returned as a string by REQUEST("DateTime", format_string, date-time-_string).
You can then 'parse' the returned date-time string into numeric values using the SPLIT function - and then use those values for your IF.
One of the forum moderators
AC 28 USA and earlier • macOS Sonoma 14.7.1, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB