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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy a date field as time only

Status
Not open for further replies.

Roosters

Technical User
May 14, 2000
61
AU
Is it possile to copy only the time of a date/time field to another field

ie 01/01/01 16:00:00 as 16:00:00.

Thanks in advance Phil
 
Dim FTime As Variant

FTime = Format("The Date Field", "HH:NN:SS")
Second Field = CStr(FTime)

HTH
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top