Spanish date (PHP 7.1)

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 11, 2019   (RSS)

By Jesus - January 17, 2019

Hi,

I just made a PHP upgrade to use 7.1, but I had this code running there, for the Spanish date.

<?php echo spanishDate($blogRecord['fecha'], "l j F Y"); ?>

I'm getting this message:

#381 - UNCAUGHT_EXCEPTION: Call to undefined function spanishDate()

I think its a compatibility issue or something like that, Does anyone know how to adjust this value to have my date in Spanish with this new PHP version?

Thank you!

By Jesus - February 11, 2019

Hello everyone,

For future reference, it was an old adjustment and I need it to implement it back once I performed an update.

Here's the solution to this:

https://www.interactivetools.com/forum/forum-posts.php?postNum=2189667#post2189667