script to display time and 'daylight' sinus