GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
templates
deprecated
fields
date_created.php
Go to the documentation of this file.
1
<?php
2
/**
3
* Display the date_created field type
4
*
5
* @package GravityView
6
* @subpackage GravityView/templates/fields
7
*/
8
9
$gravityview_view
=
GravityView_View::getInstance
();
10
11
extract(
$gravityview_view
->getCurrentField() );
12
13
echo
GVCommon::format_date
(
$value
,
'format='
. \
GV
\Utils::get(
$field_settings
,
'date_display'
) );
GravityView_View\getInstance
static getInstance( $passed_post=NULL)
Definition:
class-template.php:195
GV
$field_settings
$field_settings['content']
Definition:
custom.php:27
$gravityview_view
$gravityview_view
Definition:
date_created.php:9
$value
$value
Definition:
search-field-date_range.php:10
GVCommon\format_date
static format_date( $date_string='', $args=array())
Allow formatting date and time based on GravityView standards.
Definition:
class-common.php:1070