Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

Latest commit

 

History

History
51 lines (29 loc) · 896 Bytes

File metadata and controls

51 lines (29 loc) · 896 Bytes

back to overview


Class PhpDateTime

POCO for the PHP DateTime class.

PHP documentation is available here: https://www.php.net/manual/en/class.datetime.php

Constructor

Only has the default constructor.

Methods

SetClassName

Implementation of IPhpObject.SetClassName. This method has no effect, because PhpDateTime always has a fixed classname.

Parameters:

  • string - No effect.

Returns: void

GetClassName

Implementation of IPhpObject.GetClassName. This method always returns "DateTime".

Parameters: None.

Returns: string - Always "DateTime"

Properties

Date

Type: string PhpProperty name: "date"

TimezoneType

Type: int PhpProperty name: "timezone_type"

Timezone

Type: string PhpProperty name: "timezone"