当前位置:
代码迷
>>
VFP
>> 求下个月
详细解决方案
求下个月
热度:
4812
发布时间:
2013-02-26 00:00:00.0
求上个月?
字符型年月201301
如何得到字符型格式的上个月201212
------解决方案--------------------------------------------------------
lcYearMonth='201301'
?Left(Dtos(Date(Val(Left(lcYearMonth,4)),Val(Right(lcYearMonth,2)),1)-1),6)
相关解决方案