Jump to content

Recommended Posts

Posted

Hello

Do anyone know why the field flighttime on table phpvms_schedules, is float instead of varchar

this is giving me some problems with fuel calculations where some short flight that I added with 00:40 minutes does get recorded at the database as 0.4 the only "solution" I found was use 00:45 which gets 0.45

Thanks

  • Administrators
Posted

In the pirep table.

Edit: Oh, you're looking at schedules, you'll have to do something like this:

SEC_TO_TIME(SUM(TIME_TO_SEC(flighttime)))

I have to add the flighttime_stamp column to that table.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...