XtcUtilityTrait

package

Default

Methods

IMPORTANT NOTE: The algorithm and PHPDoc block is copied from the xtc_date_raw() function.

xtcDateRaw(string $date, boolean $reverse = false) : string

The function file can be found here: src/inc/xtc_date_raw.inc.php

Return date in raw format.

Provided $p_date parameter should be in DD.MM.YYYY or MM.DD.YYYY format depending the current language. The result (raw date) will be formatted in YYYYMMDD. If the provided $p_date parameter is invalid the result will be an empty string.

Arguments

$date

string

$reverse

boolean

(optional)

Response

string

xtcValidateEmail

xtcValidateEmail( $email,  $emailAddressCheck) 

Arguments

$email

$emailAddressCheck