dev/powerbuilder

전달(Before Month) 구하기

두억시니 2008. 11. 18. 15:12

//전달(BeforeMonth)
cTempMonth = Left(cPayMonth, 4) + '/' + Right(cPayMonth, 2) + '/01'
cBeforeMonth = String(RelativeDate(Date(cTempMonth), -1), 'yyyymm')