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 6657069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:43:17+00:00 2026-05-26T01:43:17+00:00

I am using the FullCalendar script and am having trouble formatting the date/time of

  • 0

I am using the FullCalendar script and am having trouble formatting the date/time of EVENTS on the calendar.

I need all the events date/time data to look like:

2011-09-28 08:15:00

All the dates are like this in my JSON source, which display on the calendar correctly. However, if the event is moved or a new event is added (dropped by eternal dragging), the time format looks like:

Fri Sep 30 2011 14:30:00 GMT-0400 (EDT)

It doesn’t DISPLAY in that format, but it appears this way when I try to insert the event.start or event.end into my database, or when I do this:

eventClick: function(event) {

alert("Event ID: " + event.id + " Start Date: " + event.start + " End Date: " + event.end);
}

I am using this only to see how the date & time are saved within the calendar. I need to update my database with new events, but in the format first shown above, but I am having trouble doing this.

How do I use the formatDate function? I see it listed, and the reason I’m asking is because I don’t know what to do with it.

I did:

$.fullCalendar.formatDate(event.start, 'MM-dd-yyyy');

but that doesn’t do anything…

  • 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-26T01:43:18+00:00Added an answer on May 26, 2026 at 1:43 am

    what I did, is, first put it in a var, but only seemed to work in IE – FF still produced the IETF format (ex: “Wed, 18 Oct 2009 13:00:00 EST”):

    var formDate = $.fullCalendar.formatDate(event.start, 'MM-dd-yyyy');
    alert(" Start Date: " + formDate);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using fullcalendar from arshaw.com/fullcalendar for displaying events on a corporate intranet calendar.
I am generating events on fullCalendar with this code <script type=text/javascript> $(document).ready(function() { $('#calendar').fullCalendar({
I'm using the 'FullCalendar' jQuery plugin however the format of my date string data
I'm using fullcalendar and It seems like longest events are always stacked first. Is
Using FullCalendar ( http://arshaw.com/fullcalendar/ ) to pull events from a MySQL database table via
I'm using fullcalendar, it's really a good tool to create calendar-based application. But I
I am currently using jQuery FullCalendar as a calendar system, and it is working
Hello I'm using the fullcalendar jQuery plugin to create a calendar app. When I
I'm using the FullCalendar module for Drupal 7. What I would like to do
I am working with the FullCalendar module (great, btw) and I'm having trouble populating

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.