Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7623471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:42:52+00:00 2026-05-31T04:42:52+00:00

is it possible to display start & end times on full calendar latest version?

  • 0

is it possible to display start & end times on full calendar latest version? I am using json to feed the data as such, this works fine:

// Initializes a container array for all of the calendar events
$jsonArray = array();
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
 $id = $row['HolidayType'];
 $title = $row['name'];
 $start = $row['start'];
 $end = $row['end'];
 // Stores each database record to an array
 $buildjson = array('title' => "$title", 'start' => "$start", 'end' => "$end", 'allDay' => false);
 // Adds each array into the container array
 array_push($jsonArray, $buildjson);
}

echo json_encode($jsonArray);

In my db I added 2 columns, start_time & end_time, if I add those to above code it doesnt pull times through and page errors?

// Initializes a container array for all of the calendar events
$jsonArray = array();
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
 $id = $row['HolidayType'];
 $title = $row['name'];
 $start = $row['start'];
 $end = $row['end'];
 $start_time = $row['start_time'];
 $end_time = $row['end_time'];

 // Stores each database record to an array
 $buildjson = array(
 'title' => "$title",
 'start' => "$start",
 'end' => "$end",
 'start_time' => "$start_time",
 'end_time' => "$end_time",
 'allDay' => false);
 // Adds each array into the container array
 array_push($jsonArray, $buildjson);
}

echo json_encode($jsonArray);

Any ideas how I would pull the time through via json, using start_tim, end_time is obviously incorrect?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:42:53+00:00Added an answer on May 31, 2026 at 4:42 am

    Gary, do your start and end params not contain times? Out of the box Fulcalendar will display the start time using the default timeFormat:’h(:mm)t’ which if you look at the example demos on FulCalendar’s site show as 7p or 10:30a for example. You do need to use allDay:false for this to happen.

    As for showing both start and end dates. I could not find anything that would do that directly out the box. I ended up modifying the code (somewhere around line 4700 for the month display and got the event block to display solething like this…

    07:00 title 10:30

    If your start and end params don’t contain time the you should be able to use the extra values in your array by using event.start_time and event.end_time, but again you will need to modify the main FulCalendar.js

    If you need any more info let me know.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know if it's possible to display items on a calendar view (on
is it possible display a 'x' for an html checkbox when we click on
is it possible to display ⇓ entity in ie6? It is being display in
Is it possible to display a view from another controller? Say for example I
Is it possible to display superscripted characters (not only numbers) in the alert() ,
Is it possible to display translucent and/or irregular-shaped windows with Qt? (I'm assuming it
Is is possible to display a node without children as a leaf node within
Is it possible to display a custom loading message when a user loads a
Is it possible to display all but first row from a table in sql
Is it possible to display something other than the definition name in the variables

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.