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

time question

Status
Not open for further replies.

mary555

Programmer
Nov 9, 2005
185
CA
ok i have 2 text fields on my asp form, starttime and endtime. i need the user to enter 2 times, which will eventually be put into a sql server db table, of datetime data types. i have a third field on the form which, when endtime is entered, the third field will calculate the duration. anybody have any idea how to do this?
 
What have you tried so far ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Is this a ASP question of a VB script question?

Lets see some code.

You first need to regulate and check that the user is imputting the time correctly. How are you doing this?

ie. 06:30 or whatever.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top