derekbelcher Posted September 3, 2009 Share Posted September 3, 2009 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???? Link to comment https://forums.phpfreaks.com/topic/173039-solved-help-converting-text-box-entry-to-time-accepted-by-sql/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.