Exponential 6.0.13 Exponential Enterprise Open Source CMS - PHP Class Reference

Static Public Member Functions | List of all members
eZTimestamp Class Reference

## Static Public Member Functions
static | getUtcTimestampFromLocalTimestamp ( $localTimestamp)
static | getLocalTimestampFromUtcTimestamp ( $utcTimestamp)

## Detailed Description

Definition at line 11 of file eztimestamp.php.

## Member Function Documentation

## ◆ getLocalTimestampFromUtcTimestamp()

static eZTimestamp::getLocalTimestampFromUtcTimestamp | ( |  | $utcTimestamp | ) |
| static

Returns
  a timestamp in timezone defined in php.ini

Definition at line 36 of file eztimestamp.php.

Referenced by eZDateType\objectAttributeContent(), and eZDateType\serializeContentObjectAttribute().

## ◆ getUtcTimestampFromLocalTimestamp()

static eZTimestamp::getUtcTimestampFromLocalTimestamp | ( |  | $localTimestamp | ) |
| static

Returns
  a timestamp in UTC

Definition at line 16 of file eztimestamp.php.

Referenced by eZDateType\fetchCollectionAttributeHTTPInput(), eZDateType\fetchObjectAttributeHTTPInput(), and eZDateType\unserializeContentObjectAttribute().

The documentation for this class was generated from the following file:

- eztimestamp.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.