Spanish date (PHP 7.1)

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

By daniel - January 18, 2019

Hi Jesus,

From what I can tell, the spanishDate() function is not a native function in PHP, nor is it a function in CMSB. It's possible that it was a custom function created specifically for your site. My first suggestion would be to search for this function to see if it is still being defined in any other files so that you can include it where it's needed. If not, my next suggestion would be to look at the strftime() and setlocale() functions; it looks like they can be used to output dates in different localizations.

http://us2.php.net/manual/en/function.strftime.php
http://us2.php.net/manual/en/function.setlocale.php

Let me know any questions!

Thanks,

Daniel
Technical Lead
interactivetools.com

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