To query the current time and date you can just use the following snippet:

SELECT current_timestamp();
Snowflake snippet 11