Format Date

4 posts by 3 authors in: Forums > CMS Builder
Last Post: February 7, 2008   (RSS)

By Djulia - January 7, 2008 - edited: January 7, 2008

Hi,

I seek to translate a date on my page.

It is possible to modify the format directly in the page.

<?php echo date("l t F Y", strtotime($pageRecord['autoPublishStartDate'])) ?>

Saturday 31 January 2008


But, I do not know how to obtain the days and years in a foreign language.

For example (in spanish) :

Enero,Febrero,Marzo,Abril,Mayo,Junio,Julio,Agosto,Septiembre,Octubre,Noviembre,Diciembre
Lunes,Martes,Miercoles,Jueves,Viernes,Sabado,Domingo

and

Ene,Feb,Mar...
Lun,Mar,Mie...

There is a possible solution ?

Thank you for your assistance.

Julia

Re: [Dave] Format Date

By Djulia - January 8, 2008

Thank you Dave for your assistance. [:)]

Your solution works marvelously well.

My English does not allow me to express, as I would wish it, how your CMS is formidable.

But, I recommend it absolutely !!!

And your assistance makes the difference with the concurrent solutions.

Really, cheer and thank you !

Julia

Re: [Djulia] Format Date

By jsv - February 7, 2008

Very helpfull indead, I have added the Dutch translations.
Attachments:

dutchdate.php 1K