Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • symbic Friend
    #143869

    Does anyone know how to change the date module shown in this template so that it displays the Joomla Locale settings selected for time AND NOT the actual server time??

    Any help is much appreciated as this is important to my users.

    symbic Friend
    #316733

    This seems to have worked re changing index.php:

    [PHP]
    <?php
    // set the default timezone to use. Available since PHP 5.1
    date_default_timezone_set(‘UTC’);
    echo “<span>”.date (‘l’).”</span>”;
    echo ” <div>”.date (‘M’).” “.date (‘d’).date (‘S’).”</div>”;
    ?>[/PHP]

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 1 voice, and was last updated by  symbic 15 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum