I tested this and it works:

$buday = @MDAYNO - 1
_________________________
Dean