BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Now and Time Functions

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Pedram
Guest





PostPosted: Fri Dec 02, 2005 12:10 pm    Post subject: Now and Time Functions Reply with quote



Ignoring Date Part, what is different between Now() and Time()? (if there
is)

Label1->Caption=AnsiString(Now());
Labe2->Caption=TimeToStr(Time());




Back to top
Dennis Jones
Guest





PostPosted: Fri Dec 02, 2005 6:02 pm    Post subject: Re: Now and Time Functions Reply with quote




"Pedram" <irbus (AT) remove-me-bonbon (DOT) net> wrote

Quote:
Ignoring Date Part, what is different between Now() and Time()? (if there
is)

Label1->Caption=AnsiString(Now());
Labe2->Caption=TimeToStr(Time());

None, if you ignore the date.

- Dennis



Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Fri Dec 02, 2005 7:26 pm    Post subject: Re: Now and Time Functions Reply with quote




"Pedram" <irbus (AT) remove-me-bonbon (DOT) net> wrote


Quote:
Ignoring Date Part, what is different between Now() and Time()?

You just answered your own question. The data portion is the only
difference. Now() includes a date. Time() does not (date is 0).


Gambit



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.