| View previous topic :: View next topic |
| Author |
Message |
Pedram Guest
|
Posted: Fri Dec 02, 2005 12:10 pm Post subject: Now and Time Functions |
|
|
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
|
Posted: Fri Dec 02, 2005 6:02 pm Post subject: Re: Now and Time Functions |
|
|
"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
|
Posted: Fri Dec 02, 2005 7:26 pm Post subject: Re: Now and Time Functions |
|
|
"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 |
|
 |
|