Skip to content

Get type of column when reading row? #369

@kynx

Description

@kynx

Thanks for the extension! We've been using it for writing xlsx for a while and it's fast. Now I'm trying to read files and that's fine, except for dates.

These are user-supplied spreadsheets, so I have no way to know the format of the columns up front. That doesn't really matter, except for dates. I've searched the code base to see if there's a way to determine if a particular cell is a date, but can't find anything. Is this possible?

In a perfect world there would be a global setting to get date columns returned as DateTimeImmutable, but not sure if that's even possible.

Many thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions