有什么函数能够得到当前的月份??? Private Sub Form_Load()Label1.Caption = Month(Date)End Subform上添加以各LABEL标签~ 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Dim MyMonthMyMonth = Month(now) Month(Date)Private Sub Form_Load() Label1.Caption = Month(Date)End Sub Month(M) 返回M所表示的月份名(1-12) month(date)'//////////////////////////本示例使用 Month 函数来得知某个日期的月份。在开发环境中,日期原义会根据系统的地区设置,以短式日期格式显示。Dim MyDate, MyMonthMyDate = #February 12, 1969# ' 指定一日期。MyMonth = Month(MyDate) ' MyMonth 的值为 2。 pivate sub myfunc()dim mymonth as cstringmymonth=month(now) end sub Month 函数返回指定日期中的月部分。 VB CreateObject(Word.Application) vb中如何提示出鼠标所在点的坐标? 调用word的问题 关于注册表的问题! 如何把textbox中的内容选中? 同样还是窗口消息问题. 有关VB的应用程序打包问题 请枪手!!!!! 请问各位高手:汉字转换为拼音,怎么转换? help me 为什么我用vsflexgrid时设计时都没问题,编译好运行时就报错 谁知道怎样获得其他程序的窗体ID,并把指定的内容添到它上面的输入框中? 用VB写DLL,在WEB页面中客户端弹出文件对话框.
MyMonth = Month(now)
Label1.Caption = Month(Date)
End Sub
'//////////////////////////
本示例使用 Month 函数来得知某个日期的月份。在开发环境中,日期原义会根据系统的地区设置,以短式日期格式显示。Dim MyDate, MyMonth
MyDate = #February 12, 1969# ' 指定一日期。
MyMonth = Month(MyDate) ' MyMonth 的值为 2。
dim mymonth as cstring
mymonth=month(now)
end sub