month( ) 函数示例

clear
? date( )  &&显示今天的日期
? month(date( ))  &&显示月份值
store {05/03/95} to gdbuy
store month(gdbuy + 31) to gdmonth
? gdmonth