NextDom\Enums\DateFormat
Class DateFormat
Synopsis
class DateFormat
extends Enum
{
- // constants
- const FULL = 'Y-m-d H:i:s';
- const FULL_MIDNIGHT = 'Y-m-d 00:00:00';
- const FULL_DAY = 'Y-m-d';
- const FULL_HOUR = 'H:i:s';
- const NOW = 'now';
- // Inherited methods from Enum
- public static bool exists()
- public static array getConstants()
- public static array getValues()
Hierarchy
Extends
Constants
Name | Value |
---|---|
FULL | 'Y-m-d H:i:s' |
FULL_MIDNIGHT | 'Y-m-d 00:00:00' |
FULL_DAY | 'Y-m-d' |
FULL_HOUR | 'H:i:s' |
NOW | 'now' |
Methods
Inherited from NextDom\Enums\Enum
public
- exists()
- getConstants() — Get list of all constants
- getValues()