hi, i need to subtract one date form the other and take the difference in minutes or seconds..
i'm getting the first date from the data base in 'Y-m-d H:i:s' format and second date is the current date (same format). and i want to know the difference between them in minutes and seconds.
thanx!.
Virangya 0 Junior Poster
Ichcha 0 Light Poster
vibhaJ 126 Master Poster
vibhaJ 126 Master Poster
lyrico 23 Junior Poster in Training
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.