How can I calculate the difference (in seconds/mins/etc) between to dates?

Thanks,

P