Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PROBLEM No date/time information after update to 3.3.10
#9
Those tokens are based on the OS support, and installed php libraries, so some are not always supported.


ohh maybe you are just using it wrong though

PHP Code:
function get_page_date($i "l, F jS, Y - g:i A"$echo=true) {
    global 
$date;
    global 
$TIMEZONE;
    if (
$TIMEZONE != '') {
        if (
function_exists('date_default_timezone_set')) {
            
date_default_timezone_set($TIMEZONE);
        }
    }
    
    
$myVar date($istrtotime($date));
    
    if (
$echo) {
        echo 
$myVar;
    } else {
        return 
$myVar;
    }

NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply


Messages In This Thread
RE: No date/time information after update to 3.3.10 - by shawn_a - 2016-08-11, 01:00:24



Users browsing this thread: 1 Guest(s)