Laravel excel maatwebsite 3.1 import, date column in excel cell returns as unknown format number. How to solve this?Laravel Excel is converting dates from heading into some numbersLaravel excel import, date column in excel cell returns as floating value. How to solve this?Laravel maatwebsite excel import and show imported excel in HTML table form?Laravel Maatwebsite / PHPspreadsheet - how to get value format in Excel exportLaravel Excel is converting dates from heading into some numbersmaatwebsite Laravel excel merge same cellslaravel maatwebsite-excel package: setting the column width does not workLaravel Carbon Maatwebsite Format DateSet column cell value as formula in dynamic range Maatwebsite/Excel 2.1.0Import CSV on Maatwebsite / Laravel Excel 3.1 using Excel::importHow to get a value from specific cell address in Excel through Laravel
I won a car in a poker game. How is that taxed in Canada?
Why does the UK Prime Minister need the permission of Parliament to call a general election?
Does the Giant Toad's Swallow acid damage take effect only at the start of its next turn?
Why are UK MPs allowed to not vote (but it counts as a no)?
These roommates throw strange parties
Why Is Sojdlg123aljg a Common Password?
Pronounceable encrypted text
Is it right to use the ideas of non-winning designers in a design contest?
Why are some hotels asking you to book through Booking.com instead of matching the price at the front desk?
Notation: grace note played on the beat with a chord
Can taking my 1-week-old on a 6-7 hours journey in the car lead to medical complications?
What can we do about our 9 month old putting fingers down his throat?
Is the interior of a Bag of Holding actually an extradimensional space?
Why there is no wireless switch?
Phrase request for "work in" in the context of gyms
Male viewpoint in an erotic novel
"syntax error near unexpected token" after editing .bashrc
Examples where "thin + thin = nice and thick"
GFI outlets tripped after power outage
Euro sign in table with siunitx
How to interpret or parse this confusing 'NOT' and 'AND' legal clause
Looking for a big fantasy novel about scholarly monks that sort of worship math?
Are language and thought the same?
How to create large inductors (1H) for audio use?
Laravel excel maatwebsite 3.1 import, date column in excel cell returns as unknown format number. How to solve this?
Laravel Excel is converting dates from heading into some numbersLaravel excel import, date column in excel cell returns as floating value. How to solve this?Laravel maatwebsite excel import and show imported excel in HTML table form?Laravel Maatwebsite / PHPspreadsheet - how to get value format in Excel exportLaravel Excel is converting dates from heading into some numbersmaatwebsite Laravel excel merge same cellslaravel maatwebsite-excel package: setting the column width does not workLaravel Carbon Maatwebsite Format DateSet column cell value as formula in dynamic range Maatwebsite/Excel 2.1.0Import CSV on Maatwebsite / Laravel Excel 3.1 using Excel::importHow to get a value from specific cell address in Excel through Laravel
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
By using Maatwebsite/Laravel-Excel version 3.1 to import excel sheet, here I faced an issue date time column of the excel sheet returns unknown number. How to solve this? Example : Consider Cell value "29/07/1989" and returns as "32178" when import.
php laravel maatwebsite-excel
add a comment |
By using Maatwebsite/Laravel-Excel version 3.1 to import excel sheet, here I faced an issue date time column of the excel sheet returns unknown number. How to solve this? Example : Consider Cell value "29/07/1989" and returns as "32178" when import.
php laravel maatwebsite-excel
add a comment |
By using Maatwebsite/Laravel-Excel version 3.1 to import excel sheet, here I faced an issue date time column of the excel sheet returns unknown number. How to solve this? Example : Consider Cell value "29/07/1989" and returns as "32178" when import.
php laravel maatwebsite-excel
By using Maatwebsite/Laravel-Excel version 3.1 to import excel sheet, here I faced an issue date time column of the excel sheet returns unknown number. How to solve this? Example : Consider Cell value "29/07/1989" and returns as "32178" when import.
php laravel maatwebsite-excel
php laravel maatwebsite-excel
edited May 27 at 11:11
double-beep
3,1977 gold badges19 silver badges33 bronze badges
3,1977 gold badges19 silver badges33 bronze badges
asked Mar 28 at 4:58
Reno AnthusReno Anthus
13 bronze badges
13 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
The numbers come from excel itself, dates stored in excel as numeric
values. http://www.cpearson.com/excel/datetime.htm
For Laravel framework 5.6 and maatwebsite/excel package version 3.1,
to convert date from excel numbers to normal date format, this
function
PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($dateFromExcel)
can be used. It accepts integer(excel date) and returns DateTime
object.
More information can be found here
https://github.com/Maatwebsite/Laravel-Excel/issues/1832
From this answer: https://stackoverflow.com/a/55139981/9133724
4
thanks you, im using this code to solve problem CarbonCarbon::instance(PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($value));
– Reno Anthus
Mar 30 at 9:11
Awesome. It really work
– felixmpa
Aug 21 at 14:16
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390456%2flaravel-excel-maatwebsite-3-1-import-date-column-in-excel-cell-returns-as-unkno%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The numbers come from excel itself, dates stored in excel as numeric
values. http://www.cpearson.com/excel/datetime.htm
For Laravel framework 5.6 and maatwebsite/excel package version 3.1,
to convert date from excel numbers to normal date format, this
function
PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($dateFromExcel)
can be used. It accepts integer(excel date) and returns DateTime
object.
More information can be found here
https://github.com/Maatwebsite/Laravel-Excel/issues/1832
From this answer: https://stackoverflow.com/a/55139981/9133724
4
thanks you, im using this code to solve problem CarbonCarbon::instance(PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($value));
– Reno Anthus
Mar 30 at 9:11
Awesome. It really work
– felixmpa
Aug 21 at 14:16
add a comment |
The numbers come from excel itself, dates stored in excel as numeric
values. http://www.cpearson.com/excel/datetime.htm
For Laravel framework 5.6 and maatwebsite/excel package version 3.1,
to convert date from excel numbers to normal date format, this
function
PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($dateFromExcel)
can be used. It accepts integer(excel date) and returns DateTime
object.
More information can be found here
https://github.com/Maatwebsite/Laravel-Excel/issues/1832
From this answer: https://stackoverflow.com/a/55139981/9133724
4
thanks you, im using this code to solve problem CarbonCarbon::instance(PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($value));
– Reno Anthus
Mar 30 at 9:11
Awesome. It really work
– felixmpa
Aug 21 at 14:16
add a comment |
The numbers come from excel itself, dates stored in excel as numeric
values. http://www.cpearson.com/excel/datetime.htm
For Laravel framework 5.6 and maatwebsite/excel package version 3.1,
to convert date from excel numbers to normal date format, this
function
PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($dateFromExcel)
can be used. It accepts integer(excel date) and returns DateTime
object.
More information can be found here
https://github.com/Maatwebsite/Laravel-Excel/issues/1832
From this answer: https://stackoverflow.com/a/55139981/9133724
The numbers come from excel itself, dates stored in excel as numeric
values. http://www.cpearson.com/excel/datetime.htm
For Laravel framework 5.6 and maatwebsite/excel package version 3.1,
to convert date from excel numbers to normal date format, this
function
PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($dateFromExcel)
can be used. It accepts integer(excel date) and returns DateTime
object.
More information can be found here
https://github.com/Maatwebsite/Laravel-Excel/issues/1832
From this answer: https://stackoverflow.com/a/55139981/9133724
answered Mar 28 at 5:33
QraxinQraxin
1741 silver badge4 bronze badges
1741 silver badge4 bronze badges
4
thanks you, im using this code to solve problem CarbonCarbon::instance(PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($value));
– Reno Anthus
Mar 30 at 9:11
Awesome. It really work
– felixmpa
Aug 21 at 14:16
add a comment |
4
thanks you, im using this code to solve problem CarbonCarbon::instance(PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($value));
– Reno Anthus
Mar 30 at 9:11
Awesome. It really work
– felixmpa
Aug 21 at 14:16
4
4
thanks you, im using this code to solve problem CarbonCarbon::instance(PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($value));
– Reno Anthus
Mar 30 at 9:11
thanks you, im using this code to solve problem CarbonCarbon::instance(PhpOfficePhpSpreadsheetSharedDate::excelToDateTimeObject($value));
– Reno Anthus
Mar 30 at 9:11
Awesome. It really work
– felixmpa
Aug 21 at 14:16
Awesome. It really work
– felixmpa
Aug 21 at 14:16
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55390456%2flaravel-excel-maatwebsite-3-1-import-date-column-in-excel-cell-returns-as-unkno%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown