Please enable JavaScript to view this site.

 

bool = IsWeekend(nDate)

 

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

 

This macro code below displays the text "relax" every weekend.

sResult = ''
if IsWeekend(n_TokenDate)
   sResult = 'relax'
endif 

See also: IsMonday, IsSunday, IsDayOfWeek.

 


Topic 110077, last updated on 18-Apr-2020