Returns the current date and time in Month Day, Year at Time format in the current timezone the user is in.
This function is useful as it helps you get the current date and time in a user-readable format (see the end). On top of that, it also returns the date in the terms of the current timezone the user is in. Returns in Month Day, Year at Time format.
getCurrentDateAndTime()
December 12, 2023 at 3:36 PM
Please note that this is an example and will not be the
only date displayed. It will get the current date and
display it in this format.
This function can be used when you have installed our 'project' package in 'package-installer' or
if you include the script file at https://example.com/scriptfile.js.