get_$field_display()

An alternate "getter" is created for dates that the gets the "get_$field_display" variable created for dates.

Examples:

example1.php
<?php
include("lib.php");
load("person");

$p = new person($_GET['person_id']);

$birthdate $p->get_birthdate_display();
echo 
$birthdate."<br><br>";

$created $p->person_created_display();
echo 
$created;

?>


Outputs:

MM/DD/YYYY

MM/DD/YYYY HH:MM