How do I call syntax ouput to another syntax?

Is it possible to call the output of a syntax to another syntax? I want to automate my journals so that the title automatically sets to the date I set up (daily, weekly, monthly, and yearly)

I tried using the syntax posted in the documentation but for some reason it doesn’t work

<% await tp.file.move("/A/B/NewTitle") %>

This is my syntax

Year Created: <%“YYYY”) %>
<% await tp.file.move("/400 Timestamps/Yearly" +tp.file.title) %>
<% await tp.file.rename("???") %>