my coding is
# get Hours and Minute
$timeTake=explode(":",$select_time);
# get month and Year
$mYear=explode(" ",$select_myear);
# get set variables
$monthTake=$allMonths[$mYear[0]];
$yearTake=$mYear[1];
$dateTake=intval($select_day);
$hourTake=intval($timeTake[0]);
$minuteTake=intval($timeTake[1]);
# now make PHP time stamp for Flght Depature Time
$flightDepTime=mktime($hourTake,$minuteTake,0,$monthTake,$dateTake,$yearTake);
$flightExpireTime=mktime($hourTake-72,$minuteTake,0,$monthTake,$dateTake,$yearTake);
$flightAirOpenTime=mktime($hourTake-3,$minuteTake,0,$monthTake,$dateTake,$yearTake);
i want to this value convert to like 72,24,24
for eg:
in my first page i selected 24,72,48 it converted to mktime and updated
databease i want to take it that value and converted to
24 etc
help
time
Moderator: General Moderators
-
prasadharischandra
- Forum Commoner
- Posts: 57
- Joined: Thu May 09, 2002 2:19 am
- Location: sri lanka
- Contact: