I simply modified the clock code in this link: clock
Here is my code:
\NewDocumentCommand{\Clock}{O{1cm}O{\large}O{cyan}O{\textbf{}}}{%
\def\radius{#1}%
\begin{tikzpicture}[line cap=rect,line width=0.055*\radius]
\filldraw [fill=#3] (0,0) circle [radius=\radius] node {O\textbf{}};
\foreach \angle [count=\xi] in {60,30,...,-270}
{
\draw[line width=1pt] (\angle:0.9*\radius) -- (\angle:\radius);
\node[font=#2] at (\angle:0.68*\radius) {};
}
\foreach \angle in {0,90,180,270}
\draw[line width=0.04*\radius] (\angle:0.82*\radius) -- (\angle:\radius);
\end{tikzpicture}%
}
I am trying to give my text as a parameter in these two lines:
\NewDocumentCommand{\Clock}{O{1cm}O{\large}O{cyan}O{\textbf{}}}
\filldraw [fill=#3] (0,0) circle [radius=\radius] node {O\textbf{}};
by using O\textbf{}
Here is how I use this code:
\quad\Clock[0.9 cm][\footnotesize][green][\textbf{my text here}
As a result, I see this image:

However intead of O in the middle of the clock, I want to see "my text here"
How can I do that?

O{}orO{default text}then use the argument#4so replacenode {O\textbf{}}bynode {\textbf{#4}}– David Carlisle Jan 19 '23 at 00:34\NewDocumentCommand{\Clock}{O{1cm}O{\large}O{cyan}O{default text}}and ```\filldraw [fill=#3] (0,0) circle [radius=\radius] node {\textbf{#4}}; – j.doe Jan 19 '23 at 00:53