Please enable JavaScript to view this site.

 

bool = IsSunday(nDate)

 

This macro function checks if the date nDate is a Sunday.

 

This macro code below displays the text "prepare next week" every Sunday.

sResult = ''
if IsSunday(n_TokenDate)
   sResult = 'prepare next week'
endif 

See also: IsMonday, IsWeekend, IsDayOfWeek.

 


Topic 110078, last updated on 18-Apr-2020