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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:07:29+00:00 2026-06-18T02:07:29+00:00

I was trying to use a graph plugin which only accepts input dates of

  • 0

I was trying to use a graph plugin which only accepts input dates of format “1196463600000” which i guess is epoch timestamp. but my date format is in the format “2005-01-01” , I have searched a lot to find a way to convert the normal time format to epoch, bt could nt find any.. is the time conversion possible using javascript ?? could any one suggest a good method to do it??

ive tried new Date('2005.01.01').getTime() / 1000; bt it did nt work

  • 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-06-18T02:07:30+00:00Added an answer on June 18, 2026 at 2:07 am

    There are two errors in your example:

    1. You do not need to divide by 1000 as your graph plugin seams to use milliseconds as input
    2. The proper date format is YYYY-MM-DD and not YYYY.MM.DD (hypens instead of dots)

    Fixed example:

    new Date('2005-01-01').getTime()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying edit a plugin which I use to add meta open graph tags
So I'm trying to use the new batches functionality to the graph API, which
I'm trying to use Jenkins' Plot plugin to generate a graph of how many
I'm trying to use the Graph# libraries in my VSPackage project, but unfortunately there
I am trying to use ggplot2 to create a boxplot graph but I am
I am trying to use Ninject to compose an object graph in which a
I'm trying to use Flot to plot a graph with dates. I've followed the
I am trying to use matplotlib to create a graph to reflect real time
I was trying to find a good library to use for an android graph.
I am trying to use Google graph API (image) to show some data in

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.