Solved

JavaScript get timespan in minutes between 2 dates

Posted on 2012-03-28
3
2,415 Views
Last Modified: 2012-03-30
Hi all

Could anyone share an example of obtaining the timespan in minutes between 2 dates?

Many thanks,

Rit
0
Comment
Question by:rito1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
ID: 37779421
Well, I would start with these articles:
Can I have a date? http://e-e.com/A_484-Can-I-have-a-date.html 
2 Dates - What's the difference: http://e-e.com/A_483-2-Dates-What%27s-the-difference.html

The first explains the JavaScript date object, and the second talks about determining the difference but stops at the level of # of days.
0
 
LVL 1

Author Closing Comment

by:rito1
ID: 37786247
Brilliant thank you.
0
 
LVL 41

Expert Comment

by:HonorGod
ID: 37786577
Thanks for the grade & points.

Good luck & have a great day.
0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question