public static function isTimestamp($string)
    {
        if (substr($string, 0, 5) == "/Date") {
            return true;
        }

        try {
            new DateTime('@' . $string);
        } catch (Exception $e) {
            return false;
        }
        return true;
    }