Daylight saving

Hi @Florent_Salendres
I have a word file where i need to update one of the line according to daylight saving changes in GMT time zone
in daylight saving it should be:
" You are present in daylight saving hours."

when no daylight saving it should be :
“you are present in normal hours”

what logic should i use to achieve this ?
assuming that bot will be running throughout the year.


If (Date.Now.IsDaylightSavingTime = True, " You are present in daylight saving hours.", “you are present in normal hours”)


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.