lkh11lkh
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by lkh11lkh
-
-
thanks premiso & sasa
but i still did not understand .
is it i must convert $date & $signup_date into unix_timestamp?
if yes, is there sample or example link?
thanks
-
hi
if my $date is 2009-02-21 01:30:00
if my $signup_date is 2009-02-21 01:00:00
the total is 30minutes.
How do i use php code to do $date - $singup_date?
is there any help?
thanks alot
lkh
How do i use php code to do $date - $singup_date
in PHP Coding Help
Posted
hi
<?php
$date = "2009-02-21 01:30:00";
$signup_date= "2009-02-21 00:00:00";
echo (strtotime($date)-strtotime($signup_date))/60;
?>
if total is 90mins
how do i convert from 90mins to 1hr 30mins?
thanks for your help