?
Solved

JavaScript get timespan in minutes between 2 dates

Posted on 2012-03-28
3
Medium Priority
?
2,440 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
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 …
Suggested Courses

752 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