This is a great help. Thanks ya'll. And I will continue to, and do regulary RTFM
8-) I find that it generally sucks for a newbie.
>>> "Michael Egan" <[EMAIL PROTECTED]> 11/12/02 10:42AM >>>
Robert,
I've been looking at this myself over the past couple of days.
I gather the best approac
Robert,
I've been looking at this myself over the past couple of days.
I gather the best approach is to convert your dates into UNIX timestamps.
For example:
$first_unix_time = mktime($hour1, $minutes1, $seconds1, $month1, $day1, $year1);
$second_unix_time = mktime($hour2, $minutes2, $seconds
At 16:30 12.11.2002, ROBERT MCPEAK spoke out and said:
[snip]
>I'm trying to add/subract two dates. I think I need to use mktime() but I
>can't quite figure out how.
>
>I'd like to do something like this:
>
>(2002-11-15)-(2002-11-10)=5
>
>or
>
>(2002-12-10)
3 matches
Mail list logo