I had not understand excaclty what you want, describe a little bit more..

try this maybe you want this

Code:
var %d = $date(mmmm/dd/yyyy)
if ($gettok(%d,2,47) == 30) { echo ok }


- Thanks!