Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get date time frame from modification #51

Open
christian-kolb opened this issue Jun 7, 2024 · 0 comments
Open

Get date time frame from modification #51

christian-kolb opened this issue Jun 7, 2024 · 0 comments
Assignees

Comments

@christian-kolb
Copy link
Contributor

christian-kolb commented Jun 7, 2024

class Date
{
    public function timeFrameFromModificationInTimeZone(string $modifyFrom, string $modifyTo, \DateTimeZone $timeZone): DateTimeFrame
}

$timeFrame = $today->timeFrameFromModificationInTimeZone('- 7 days', '- 1 day', App::timeZone());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant