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

  • Home
  • SEARCH
  • 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 6857909
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:05:26+00:00 2026-05-27T02:05:26+00:00

Hello I’m using the fullcalendar jQuery plugin to create a calendar app. When I

  • 0

Hello I’m using the fullcalendar jQuery plugin to create a calendar app. When I call the start method on the event object the date format I get is like this:

ISO FORMAT:

Sun Nov 27 2011 06:30:00 GMT+0200 (EET)

Now I want to keep only the time and minutes of the event:

6 hours

30 minutes

in our example.

How can I trim/parse only the time with JavaScript?

  • 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-27T02:05:27+00:00Added an answer on May 27, 2026 at 2:05 am

    You can use Date.parse:

    var your_date = "Sun Nov 27 2011 06:30:00 GMT+0200 (EET)";
    var t = Date.parse(your_date); // date in milliseconds since January 1, 1970
    var d = new Date(t);
    d.getHours(); // 6 hours
    d.getMinutes(); // 30 minutes
    

    Take a look at http://www.w3schools.com/jsref/jsref_obj_date.asp to more JavaScript Date options.

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

Sidebar

Related Questions

Hello , I am using arshaw fullcalendar v1.5.2 (only month view ) for property
Hello I am trying to create a stacked barplot using the following code: test
hello all i have one json object like {event1:{title:My birthday,start:12\/27\/2011 10:20 ,end:12\/27\/2011 00:00 },event2:{title:My
Hello can anybody solve this please I'm creating the object in the action class
hello creating a custom object may be a widely published topic, but my lack
Hello StackOverflow, I'd like to know if there is way to trigger an event
Specifically, suppose I start with the string string =hello \'i am \' me And
Hello i been trying to get a tokenizer to work using the boost library
Hello everyone, I'm developing a photo sharing web site using the CodeIgniter PHP framework
Hello,I'd like to ask you two questions. (I am using java and jedis) I

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.