Skip to content

Modify Date & Time #1542

@norberttech

Description

@norberttech

Currently the easiest way to modify the DateTime is through DataFrame::map() callback, however we can take advantage of PHP DateTimeImmutable::modify() method.

Example:

ref('datetime')->modifyDateTime('midnight') which should return midnight of the given date

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions