include/Smarty/plugins/modifier.date_format.php

Show: inherited
    Table of Contents

    Smarty plugin

    Package
    Smarty  
    Subpackage
    plugins  

    Functions

    functionsmarty_modifier_date_format(  $string,  $format = "%b %e, %Y",  $default_date = null ) : string | void

    Smarty date_format modifier plugin

    Type: modifier
    Name: date_format
    Purpose: format datestamps via strftime
    Input:
    - string: input date string - format: strftime format for output - default_date: default date if $string is empty

    Parameters
    Name Type Description
    $string

    string

    $format

    string

    $default_date

    string

    Returns
    Type Description
    string | void
    Details
    Author
    Monte Ohrt  
    Link
    (Smarty online manual)  
    Uses
    \smarty_make_timestamp()  
    Documentation was generated by DocBlox 0.18.1.