public static function getProperDateFormat($value)
    {
        $dateFormatString = 'Y-m-d\TH:i:s.u';
        $date = date_format($value, $dateFormatString);
        $date = substr($date, 0, -3) . 'Z';

        return $date;
    }
public static function getProperDateFormat($value)
    {
        $dateFormatString = 'Y-m-d\TH:i:s.u';
        $date = date_format($value, $dateFormatString);
        $date = substr($date, 0, -3) . 'Z';

        return $date;
    }
public static function getProperDateFormat ( $ value ) { $ dateFormatString = 'Y-m-d\TH:i:s.u' ; $ date = date_format ( $ value , $ dateFormatString ) ; $ date = substr ( $ date , 0 , - 3 ) . 'Z' ; return $ date ; }
Get a date value in the format stored on Avos.

All the SDKs do some slightly different date handling.
PHP provides 6 digits for the microseconds (u) so we have to chop 3 off.

@param \DateTime $value DateTime value to format.

@return string
Get a date value in the format stored on Avos .