Skip to content

Conversation

@netpassprod1
Copy link
Contributor

The \PhpOffice\PhpSpreadsheet\Shared\Date class has support for setting an alternate timezone which affects the conversion of Excel Date timestamps in PhpSpreadsheet. This amendment is an effort to document this support.

This is:

- [X] a bugfix
- [ ] a new feature

Checklist:

Why this change is needed?

The \PhpOffice\PhpSpreadsheet\Shared\Date class has functions that support using different timezones. This change provides documentation for how to update the default timezone as well as how to apply a different timezone via parameter for specific function calls.
I only discovered this capability by looking at the Date class source code.

netpassprod1 and others added 2 commits March 21, 2018 16:36
The \PhpOffice\PhpSpreadsheet\Shared\Date class has support for setting an alternate timezone which affects the conversion of Excel Date timestamps in PhpSpreadsheet. This amendment is an effort to document this support.
@PowerKiKi PowerKiKi merged commit 52ff262 into PHPOffice:develop Mar 22, 2018
@PowerKiKi
Copy link
Member

thanks!

Dfred pushed a commit to Dfred/PhpSpreadsheet that referenced this pull request Nov 20, 2018
The \PhpOffice\PhpSpreadsheet\Shared\Date class has support for setting an alternate timezone which affects the conversion of Excel Date timestamps in PhpSpreadsheet. This amendment is an effort to document this support.
BlackyTay pushed a commit to BlackyTay/PhpSpreadsheet that referenced this pull request Aug 8, 2025
The \PhpOffice\PhpSpreadsheet\Shared\Date class has support for setting an alternate timezone which affects the conversion of Excel Date timestamps in PhpSpreadsheet. This amendment is an effort to document this support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants