NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Interface DateTimeInterface

### Direct known implementers

`DateTime`

PHP Extension: Date
Documented at php.net

## Methods summary

- `public` `format ( mixed $format )`
- `public` `getTimezone ( )`
- `public` `getOffset ( )`
- `public` `getTimestamp ( )`
- `public` `diff ( mixed $object, mixed $absolute )`
- `public` `__wakeup ( )`

## Methods detail

# `public`
`format( mixed $format )`
# `public`
`getTimezone( )`
# `public`
`getOffset( )`
# `public`
`getTimestamp( )`
# `public`
`diff( mixed $object, mixed $absolute )`
# `public`
`__wakeup( )`

### Magic methods summary