Re: [PHP] Dates Again

2008-03-31 Thread Larry Garfield
On Monday 31 March 2008, Zoltán Németh wrote: > VamVan írta: > > Hello All, > > > > I have a date in 2008-03-29 12:15:00 format. > > > >- How can I reduce one day from it? > >- How can I reduce one hour from it? > >- How can I add 1 hour to today's date? > > > > Thanks > > just convert

Re: [PHP] Dates Again

2008-03-31 Thread Ray Hauge
Zoltán Németh wrote: VamVan írta: Hello All, I have a date in 2008-03-29 12:15:00 format. - How can I reduce one day from it? - How can I reduce one hour from it? - How can I add 1 hour to today's date? Thanks just convert it to a timestamp with strtotime() then you can manipulat

Re: [PHP] Dates Again

2008-03-31 Thread Zoltán Németh
VamVan írta: Hello All, I have a date in 2008-03-29 12:15:00 format. - How can I reduce one day from it? - How can I reduce one hour from it? - How can I add 1 hour to today's date? Thanks just convert it to a timestamp with strtotime() then you can manipulate it by adding/substra

[PHP] Dates Again

2008-03-31 Thread VamVan
Hello All, I have a date in 2008-03-29 12:15:00 format. - How can I reduce one day from it? - How can I reduce one hour from it? - How can I add 1 hour to today's date? Thanks