Question [Q]switch 2 variables

Hi guys!


I have 2 variables and I would like to switch them when it is day and night like whetarer icon.

the variables are:

$#WCCODE#=15||#WCCODE#=16?[s=30]sun[/s]$

$#WCCODE#=15||#WCCODE#=16?[s=30]moon[/s]$

can you help me please?

thanks!