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;








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.










share|improve this question
































    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.










    share|improve this question




























      0












      0








      0


      1






      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.










      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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

























          1 Answer
          1






          active

          oldest

          votes


















          4

















          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






          share|improve this answer




















          • 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










          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
          );



          );














          draft saved

          draft discarded
















          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









          4

















          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






          share|improve this answer




















          • 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

















          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






          share|improve this answer




















          • 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










          4










          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






          share|improve this answer














          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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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












          • 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








          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.




















          draft saved

          draft discarded















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

          Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript