variant_date_to_timestamp

(PHP 5, PHP 7, PHP 8)

variant_date_to_timestampConvertit une valeur date/temps variante en un timestamp Unix

Description

variant_date_to_timestamp(variant $variant): ?int

Convertit variant d'une valeur VT_DATE (ou similaire) en un timestamp unix. Cela permet l'interopérabilité facile entre les parties Unix de PHP et COM.

Liste de paramètres

variant

Le variant.

Valeurs de retour

Retourne un timestamp Unix, ou null en cas d'échec.

Voir aussi

add a note add a note

User Contributed Notes 1 note

up
2
radek at tetik dot cz
8 years ago
variant_date_to_timestamp() assumes the COM date in the current Windows time zone and converts it to the current PHP time zone
To Top