Field::getValue()

Version 3.8

Technical value

Technical value of the value set into field. Usually this is same as the value that is saved to database.

Return value

mixed

Full documentation

Show Order Date in localized and database format:

$stringYmd = $Order->order_date->getValue(); // -> 2013-02-11 $stringDmy = $Order->order_date->getString(); // -> 11.2.2013