Dates. What a nightmare. Day/Month/Year? Month/Day/Year? 24 hour time? 12 hour time? It’s almost enough to make you sympathetic to the idea of decimal time…almost.
Type Helper codeunit to the rescue. It has a method to allow you to evaluate the text of a date, time or datetime into the corresponding type according to a format that you specify.
AVariant := DateResult; FormatString :=...
Continue Reading james’s Article on their blog
Tip: Evaluating DateTime with Type Helper
Dates. What a nightmare. Day/Month/Year? Month/Day/Year? 24 hour time? 12 hour time? It’s almost enough to make you sympathetic to the idea of decimal time…almost. Type Helper codeunit to the rescue. It has a method to allow you to evaluate the text of a date, time or datetime into the corresponding type according to a…
Blog Syndicated with james’s Permission
More About This Author
Array
#Dyn365BC2020.09.28Part 2a: (Slightly) More Elegant Error Handling in Business Central
#Dyn365BC2020.09.15Part 2: (Slightly) More Elegant Error Handling in Business Central
#Dyn365BC2020.07.30Debugging Business Central Tests with AL Test Runner
#Dyn365BC2020.07.21Tip: Evaluating DateTime with Type Helper