if

if ( is_null ( $date ) ) {

$this

if

if ( $this -> applyTimeZone ) {

new

new

$session = new SessionHelper ( new View ) ;

if

if ( $session -> check ( 'Auth.User.merchantTimeZone' ) ) {

$this

$this -> timeZone = timezone_name_from_abbr ( $session -> read ( 'Auth.User.merchantTimeZone' ) ) ;

'Y-m-d H:i:s'

$origDate = date ( 'Y-m-d H:i:s' , $unixDate ) ;