Jump to content

[SOLVED] Help converting text box entry to time accepted by sql


derekbelcher

Recommended Posts

Hello.

 

I have a form that asks the user to enter several different times.  I want them to be able to enter it as a straight four digit number.  For example: 1534.  Then I want that to convert to 15 hours and 34 minutes in the database  Also, is there a way to format the text box so that when they move to the next box it displays as 15:34 instead of 1534.  Not sure where to go here????

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.