I need to calculate the difference between two timestamp or datetime fields (0000-00-00 00:00:00) into hours, any idea or reference can share ?

prefer the solution in javascript form , TQ

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.