Using Clojure and Java in an advanced query?

Is it possible to use the full breadth of Clojure and Java within an advanced query? For instance, Log In - Replit can handle dates with e.g., (println (.format (java.text.SimpleDateFormat. "yyyy-MM-dd") (java.util.Date.))), but it doesn’t look like these functions are available from within a LogSeq query. Is there a way to access them and other Java builtins?