diff --git a/core/model/fieldtypes/Date.php b/core/model/fieldtypes/Date.php index 444388eae..d46d34a6c 100644 --- a/core/model/fieldtypes/Date.php +++ b/core/model/fieldtypes/Date.php @@ -33,6 +33,10 @@ class Date extends DBField { if($this->value) return date('d/m/Y', strtotime($this->value)); } + function NiceUS() { + if($this->value) return date('m/d/Y', strtotime($this->value)); + } + /** * Returns the year from the given date */