Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, Power Apps, Power Automate, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming 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