Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
When I Import Time from Excel to AX it is coming as 0 or 12:00:00 AM.
info(strFmt("%1", time2str(cells.item(row,7).value().time(), TimeSeparator::Colon, TimeFormat::AMPM)));
In Excel row 7 has Time Format: 5:32:00 AM
--- Thanks In advance.
Coming where? In your table, or infolog?
"Time" type in AX is a number that represents seconds from midnight. Your Excel import might not give it to you in this format.
Do you have any other code than the one that you shared?
The code cells.item(row, 7).value().time() may not convert the data as expected if the cell in the excel is not properly formatted. The ideal way would be to do in following way:
Business Applications communities