variant_date_to_timestamp() assumes the COM date in the current Windows time zone and converts it to the current PHP time zone(PHP 5, PHP 7, PHP 8)
variant_date_to_timestamp — Converte um valor de variante de data/horário em um timestamp Unix
Converte o valor de uma variant do tipo VT_DATE
(ou similar) em um timestamp Unix. Isto permite uma
interoperabilidade mais fácil entre as partes Unix do PHP e o COM.
variantA variante.
Retorna um timestamp Unix ou null em caso de falha.
variant_date_to_timestamp() assumes the COM date in the current Windows time zone and converts it to the current PHP time zone