[PHP] Re: Default argument values

2003-02-17 Thread Stephen Willcock
Yes, you can call your function with these arguments, but in this case of course the defaults will not be used because you have supplied arguments. SW "Neko" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey All, > > I've been trying to write a function that

Re: [PHP] date calculation

2003-02-16 Thread Stephen Willcock
hel how can I write "1 2 2003" instead of "1 february 2003" > > I wrote but directly but doesn' t work > > thanks > > "Stephen Willcock" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >

Re: [PHP] date calculation

2003-02-16 Thread Stephen Willcock
Try: $today = strtotime ("1 february 2003"); $enddate = strtotime ("2 february 2003"); $diff = $enddate - $today; Should give you a clue! SW "Qt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear Kevin, > > I used timestamp allready as following; > > $tod