Converts a SAML2 timestamp on the form yyyy-mm-ddThh:mm:ss(\.s+)?Z
to a UNIX timestamp. The sub-second part is ignored.
public static parseSAML2Time ( string $time ) : integer | ||
$time | string | The time we should convert (SAML Timestamp). |
return | integer | $timestamp Converted to a unix timestamp. |