Jump to content

[Solved] Show minutes in flight time schedule_briefing.tpl


ARV187

Recommended Posts

Hi, actually in my phpvms v2.1.936 I have this code:

schedule_briefing.tpl

<!-- Flight time  Row -->

<tr>
        <td colspan="2"><?php echo $schedule->arrtime - $schedule->deptime ?></td>
    </tr>

But this code not show minutes, only hours, so if I have arr time = 12:59 and dep time = 09:00 the result is 3hours, not 3:59 hours.

How can I fix this?

 

Thanks!

Edited by ARV187
Link to comment
Share on other sites

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...