Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datetime

Status
Not open for further replies.

filipe26

Programmer
Mar 17, 2003
152
PT
Hi i have a field in Access of type Datetime and when i post a record like this:

dm.dt.value:=date;

the field look like this :'21-04-2003 13:55' and not just the date.Why?

Im using BDE.

Thanks.
 
Date has an integer that represents the date and a fraction part that represent the time.

use: int(Date);

Steven van Els
SAvanEls@cq-link.sr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top