It seems that currently it is not possible to use date functions when writing expressions to control visibility. This would be a nice addition. This would be useful if you would like to have a button that is only available a week before a certain date.