精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>编程开发>>● VB和Basic>>〓〓....函数 DIY....〓〓>>请问闰年的最简单判断??

主题:请问闰年的最简单判断??
发信人: zhxudong()
整理人: cobe(2000-11-25 21:22:12), 站内信件
【 在 smallsyw (麦子) 的大作中提到: 】
: 多谢!
: 请在回复时打勾!!!
dim strYear as string
dim iYear as integer
strYear=""
if (iYear mod 4=0 and iYear mod 100 <>0) or (iYear mod 400=0 ) then
    strYear="闰年"
endif 



--
※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.100.73.242]

[关闭][返回]