|
|
导航: |
论坛 -> 论坛精华贴
斑竹:liumazi,iamdream |
|
作者: |
nu9i (nu9i) |
★☆☆☆☆ |
-
|
普通会员 |
|
2006/6/26 21:52:33 |
标题: |
请问怎么能去到系统时间,我怎么用now()只能取到日期呢?谢谢! |
浏览:3746 |
|
加入我的收藏 |
楼主: |
self.StatusBar1.Panels[0].Text := '当前时间:'+ datetostr(now); 我这样只能取到系统日期,却取不到时间!
----------------------------------------------
-我是问题狂! |
作者: |
zizii (高高高级馒头) |
★☆☆☆☆ |
-
|
神秘会员 |
|
2006/6/26 21:53:44 |
1楼: |
datetostr(now); timetostr(now); datetimetostr(now); 自己研究一下。
----------------------------------------------
维护世界和平,共创美好盒子。
|
作者: |
|
2006/6/26 22:02:55 |
2楼: |
statusbar1.Panels[0].Text:=formatdatetime('yyyy''年''m''月''d''日'' dddd hh:mm:ss AM/PM',now);
----------------------------------------------
-
|
作者: |
nu9i (nu9i) |
★☆☆☆☆ |
-
|
普通会员 |
|
2006/6/26 22:33:51 |
3楼: |
两个回答都很受益呀,谢谢!
----------------------------------------------
-我是问题狂!
|
作者: |
|
2006/6/27 15:48:20 |
4楼: |
formatdatetime() 格式有N种
----------------------------------------------
goooooooooo!
|
作者: |
|
2006/6/27 16:43:27 |
5楼: |
Date();
----------------------------------------------
要做就做最好!
|
作者: |
wxcl (无心插柳) |
★☆☆☆☆ |
-
|
普通会员 |
|
2006/8/16 10:44:00 |
6楼: |
formatdatetime('yyyy''年''m''月''d''日'' dddd hh:mm:ss AM/PM',now); 这个实用 呵呵~
----------------------------------------------
-
|
作者: |
|
2006/8/16 16:43:54 |
7楼: |
FormatDateTime('你的格式',now);
----------------------------------------------
思想一 思想二 →→→→→→→ ∨ ←←←←←←←← 思想一 + 思想二
|
作者: |
|
2006/8/17 8:58:44 |
8楼: |
有张网页 里讲的很详细:http://www.tongyi.net/article/20050615/200506154265.shtml 有 空 自己看下
----------------------------------------------
√真心没有反馈,还要被人误会,老天有意作对,是因无心得罪? √希望一夜被毁,努力全都白费,精神濒临崩溃,可仍要去面对! √仰天、凝视、感喟,自觉本无地位,以为不再惧畏,可以丢掉安慰,却陷入新机危! 【前途最多忌讳 自诫不要后悔!】 ∑抛弃往昔§放弃希望℃------我的名字,我的痛~
|
|