Opacity question

I have just started looking at, and using Facer Creator, so this should be simple. All I want to do is show the sunrise time when it’s after sunset, and sunset when it’s after sunrise. I think that would just be a digital time with an opacity setting based on the sunset/sunrise times, but don’t know how to do it. Can someone give a complete beginner an explanation on how to do this?

Thanks

$#DISDAYTIME#=true?#WSh#:#WRh#$

#DISDAYTIME# - Returns true if time is after sunrise and before sunset
#WRh# - Sunrise hour (1-12)
#WSh# - Sunset hour (1-12)
Put the formula in the text field, more on tags here.

2 Likes