This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 我来问个弱智问题,VB的Date函数如何返回mm/dd/yyyy格式?我得到了dd/mm/yyyy格式
-oceandeep(北极熊·9.11的飞机);
2004-9-17
(#1890101@0)
-
搞定了,设置windows的region里面的date,其他方法呢?
-oceandeep(北极熊·9.11的飞机);
2004-9-17
(#1890105@0)
-
Control Panel -> Regional Settings -> Date (tab)" and set "Short date style" to "M/d/yy" ???
-canadiantire(八卦轮胎);
2004-9-17
(#1890108@0)
-
and Format(Now, "m/d/yy")
-canadiantire(八卦轮胎);
2004-9-17
(#1890111@0)
-
not working.
-oceandeep(北极熊·9.11的飞机);
2004-9-17
(#1890114@0)
-
work for me , Format(Date, "M/d/yyyy")
-canadiantire(八卦轮胎);
2004-9-17
(#1890116@0)
-
不会吧,这样一定能搞定的,我现在就在用Format(Now, "MM/DD/YYYY")当然返回的是字符串,不是日期型
-vega_lee(天津包子-就不改);
2004-9-17
(#1890119@0)
-
date=format(date,"dd/mm/yyyy")-------------09/17/2004--------date=format(date,"d/m/yy")-------------09/04/2017 (I set the date format as mm/dd/yyyy in control panel now)
-oceandeep(北极熊·9.11的飞机);
2004-9-17
(#1890130@0)
-
lame. google it will be much faster to ask here.
-nohairmonk(无毛和尚);
2004-9-18
(#1891854@0)