|
|
|||||||
| About Us | Register | FAQ | Members List | Calendar | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
~€ PanZeR €~ idRO Thor
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2003
Location: Valhalla, in Odin's throne
Posts: 3,145
|
Time Handle Procedure on Delphi
I'm working on a time calculator, which I've got it to work, partialy. But seriously I need help on time procedure in Delphi. Specialy how to handle only 1 part (hh only, or mm only) of time display, rather than 3 (hh, mm, ss).
Code:
label1.caption:=FormatDateTime('hh',Now);
label2.caption:=FormatDateTime('mm',Now);
If any of you know or can help, it would be really appreciated. Sorry for my bad english.
__________________
Last edited by Galway no Sora; June 11th, 2008 at 10:03. |
|
|
|
|
|
#3 (permalink) |
|
越南にて
![]() ![]() ![]() Join Date: Jun 2006
Location: Vietnam
Posts: 317
|
Yeah,you're right.But I think this is because he was too careless or he didn't read enough the basic part.Like in my case,everytime I use a function in Java,I have to read its instruction in JDK.
__________________
Yoroshiku onegaiitashimasu
|
|
|
|
|
|
#4 (permalink) |
|
~€ PanZeR €~ idRO Thor
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2003
Location: Valhalla, in Odin's throne
Posts: 3,145
|
It was 8 years ago when I was first time learning Delphi programming language, after that period I'm just forgot some of the "codes". I read a lot actually, but none of them specify the details. They usually just put it in "hh:mm:ss" and none of them show it separately. That's the problem. But now it's done. And I also get a reward from it (because of googling), found how to play an AlphaBlend and create a custom "skin" without having to load the image from source. Thanks to you all.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|