메소드 | 설명 | |
---|---|---|
reverseTransform ( string $value, $originalValue ) : DateTime | Transforms a date string in the configured timezone into a DateTime object | |
transform ( DateTime $value ) : string | Transforms a DateTime object into a date string with the configured format and timezone |
메소드 | 설명 | |
---|---|---|
configure ( ) | {@inheritDoc} |
public reverseTransform ( string $value, $originalValue ) : DateTime | ||
$value | string | A value as produced by PHP's date() function |
리턴 | DateTime | A DateTime object |