Posted by Erwin Moller on 08/07/06 12:11
Sonnich wrote:
> Hi all!
>
> I have been looign at and wonder...
>
> what is the easiest way to check a date field and transfer it into:
> dd.mm.yyyy ?
>
> Eventually I would like to accept dd.mm then yyyy is present year
> (unless month < now, then yyyy++ ).
> The basic thing is to format the date as dd.mm.yyyy - how?
>
> BR
> Sonnich
Hi,
Have a look at the date() function at www.php.net.
It can format in (almost) any way you like.
Regards,
Erwin Moller
[Back to original message]
|