Re: [PHP] convert a strtotime date into a text representation of the date

2004-03-04 Thread Andy B
strtotime('third saturday', strtotime('1 jan 2005')); strtotime('third saturday', mktime(12, 0, 0, 1, 1, 2005)); yea thanks... now i can figure out most of the other stuff i need (at least for now anyways) will probably use the mktime way since i can always use variables from a combo bo

RE: [PHP] convert a strtotime date into a text representation of the date

2004-03-04 Thread Ford, Mike [LSS]
On 04 March 2004 04:37, Andy B wrote: > hi. > > i found strtotime and it seems to work but not quite sure if i know > how to use it right... here is my code: > $time= strtotime("third saturday january 2005"); > echo date("M/D/YY", $time); > > > > i wanted it to take the third saturday of next

Re: [PHP] convert a strtotime date into a text representation of the date

2004-03-03 Thread Jason Wong
On Thursday 04 March 2004 12:52, Andy B wrote: > You'd want something more like this for the format: > echo date("l F j Y", $time); > but for me, this caused the following output > Saturday June 27 2009 > doesn't seem right somehow :/ > > i know i wonder if i have the strtotime("third saturday janu

Re: [PHP] convert a strtotime date into a text representation of the date

2004-03-03 Thread Andy B
You'd want something more like this for the format: echo date("l F j Y", $time); but for me, this caused the following output Saturday June 27 2009 doesn't seem right somehow :/ i know i wonder if i have the strtotime("third saturday january 2005"); written all wrong or something. makes me t

RE: [PHP] convert a strtotime date into a text representation of the date

2004-03-03 Thread Martin Towell
> hi. > > i found strtotime and it seems to work but not quite sure if > i know how to use it right... > here is my code: > $time= strtotime("third saturday january 2005"); > echo date("M/D/YY", $time); > ?> > > i wanted it to take the third saturday of next year (2005) > and say do this: satu