calculate time difference and display popup based on time difference
===

im writing a small calendar based on php and jquery which has the a function to calculate the time difference and display a popup 15 minutes before.

Can some one tell me how can i calculate the time difference in minutes and popup 15 minutes before.

my time is saved as 

    18-07-2012 15:13:54



