variant_cmp
variant_date_to_timestamp
COM Funções
PHP Manual

# variant_date_from_timestamp

(PHP 5)

variant_date_from_timestamp — Returns a variant date representation of a Unix timestamp

### Descrição

variant variant_date_from_timestamp ( int `$timestamp` )

Converts `timestamp` from a unix timestamp value into a variant of type `VT_DATE`. This allows easier interopability between the unix-ish parts of PHP and COM.

### Parâmetros

`timestamp`

  A unix timestamp.

### Valor Retornado

Returns a `VT_DATE` variant.

### Veja Também

- variant_date_to_timestamp() - Converts a variant date/time value to Unix timestamp
- mktime() - Obtém um timestamp Unix para uma data
- time() - Retorna o timestamp Unix atual

variant_cmp
variant_date_to_timestamp
COM Funções
PHP Manual