I have two variables
var a="10:20:am";
var b="10:25:am";

I want javascript code for getting 5 min difference.
any body help me to get 5 min difference

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.