`
//For Insert in date base-- $valid_from = ($_REQUEST['valid_from'] == '') ? '' : StringUtility::setFormatedDateBritish($_REQUEST['valid_from']); //For view in textfield-- value="<?php ?echo ($valid_from == '') ? '' : StringUtility::getFormatedDateBritish($valid_from); ?>" //if date format is simple then use?getFormatedDate instead of?getFormatedDateBritish
`