Real things I’m asked – Date Assignment

Q: What’s the syntax to assign a date in BC? Used to be date := 010122D;

A: In AL The syntax for defining Date format is yyyymmddD, where D is a mandatory letter. In C/AL a normal date is assigned with the format <MMDDYY>D

Leave a Reply

Your email address will not be published.