print a date from within a BEGIN-SQL loop (sqr) (peoplesoft)