postDate()

Description

Outputs the post's date.

Usage

<?php 
    echo postDate( $format ); 
?>

Parameters

$format

  • string
  • optional
  • default: d. F Y

Defines how the date should be formatted. See the date documentation on php.net for the full list of format options.

Examples

2011.03.26 - 20:29

<?php 
    echo postDate( 'Y.m.d - h:i' ); 
?>