public function TripalEntityCollection::getCreateDate

3.x TripalEntityCollection.inc public TripalEntityCollection::getCreateDate($formatted = TRUE)

Retrieves the date that the basket was created.

Parameters

$formatted: If TRUE then the date time will be formatted for human readability.

Return value

A UNIX time stamp string containing the date or a human-readable string if $formatted = TRUE.

1 call to TripalEntityCollection::getCreateDate()
TripalEntityCollection::getOutfile in tripal/includes/TripalEntityCollection.inc
Retrieves the output filename for the desired formatter.

File

tripal/includes/TripalEntityCollection.inc, line 338

Class

TripalEntityCollection

Code

public function getCreateDate($formatted = TRUE) {
  if ($formatted) {
    return format_date($this->create_date);
  }
  return $this->create_date;
}