Questions tagged [dynamics-al]

The programming language utilized for developing objects in Microsoft Dynamics 365 Business Central is Application Language (AL). AL enables users to interact with data, allowing them to read, write, and modify information within the Business Central database. Remember to include the [dynamics-business-central] tag when referencing AL.

Attempting to retrieve the current time using JavaSscript

const currentTime = new Date(); const hours = now.getHours(); Console.log(hours); This block of code is returning an error message... Uncaught ReferenceError: now is not defined Please note that this snippet is written in JavaScript. I attempted to us ...