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

读取日期字符串被转化成短数字 #457

Open
mdxgit opened this issue Nov 10, 2022 · 1 comment
Open

读取日期字符串被转化成短数字 #457

mdxgit opened this issue Nov 10, 2022 · 1 comment

Comments

@mdxgit
Copy link

mdxgit commented Nov 10, 2022

image

image

image

有什么好办法把时间类型,原格式读取。

@Alion548
Copy link

Alion548 commented May 15, 2024

function execltime2Timestamp(int | float $excelTime): int
{
    return (int)(($excelTime - 25569) * 86400 - (8 * 60 * 60));
}

https://blog.csdn.net/jugtba/article/details/131119928

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants