Getting current date and time

[ DelphiLand FAQ ] [ Delphi Tutorials ]

Posted by Lesley Gousmett on November 12, 2002 at 21:26:31:

I have a TDBText component on my form which is a persistent database field and is named "dbStartTime". The Datasource is called "dsHire" and the datafield is "WhenStart". I want "dbStartTime" to display the current date and time, when the user clicks a button on the form called "New Hire". Can you tell me how I can do this?

Thank you

Related Articles and Replies:

[ DelphiLand FAQ ] [ Delphi Tutorials ]