mierlp Posted January 24, 2016 Share Posted January 24, 2016 hi Within my application a need several edit fields for register time (only HH:mm) I use a mySQL database so i can use: a. TIME field b. DateTime field c. Float d. Var I have to compare time (start/end times) and calculate times. When comparing time it's possible a performance starts at 23:00 and ends at 00:30 hour. Do i need to use the date to correct calculate the time? Time fields have advantage and disadvantage and some people use float fields for time. I have used a time field and when entering the time in a dbedit with the syntax HH:mm it's after save is show always HH:mm:ss (because it's a time field). But after using a display field HH:mm it still show the time like HH:mm:ss So ...what's you opion for : 1. best field for time 2. when using a DBEdit for enter time i can use a mask like 99:993. tips ? Regars Peter Quote Link to comment Share on other sites More sharing options...
bugra Posted January 25, 2016 Share Posted January 25, 2016 Hi You can use UniDBDateTimePicker and set TimeFormat HH:mm. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.