![]() ![]() |
|
全国计算机级辅导:VB中日期的处理 | |
作者:佚名 文章来源:不详 点击数 更新时间:2008/4/18 14:46:53 文章录入:杜斌 责任编辑:杜斌 | |
|
|
if 你想得到"年" then 只写"yyyy" 或 "yy" if 你想得到"月" then 只写"mm" 或 "m" if 你想得到"日" then 只写"dd" 或 "d" 来源:www.examda.com if 你想得到"小时" then 只写"hh" 或 "h" if 你想得到"分" then 只写"nn" 或 "n" if 你想得到"秒" then 只写"ss" 或 "s" if 你想得到对应的某个部分 then 只写相应的部分 如果你想得到对应的数值则使用Val(Format(....)) |
|
![]() ![]() |