Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

[PHP] Date difference From: ravi <email protected>
Date: 03/31/01

Dear Friends,

I am accessing a MySQL database through PHP.

I have to calculate the difference between todays date and the date obtained
from MySQL database.

The Database string is in the form of \"yyyy-mm-dd\".

I have to convert the above string into unix timestamp so that i can calcualte
the difference between the two time stamps.

Please help me in this regard.

Thanking you,

B. Raveendra Reddy
National Law School of India University

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>