There is a set of 4 functions under the Date and Time Functions listed in the Toolbox of the IDE. When you read about them, the docs state they are only for Basic, not pure JavaScript. If that is the case, then why present them if the form/project language is JavaScript?
If they must be present and are truly only for Basic Language, maybe the group header could be changed to say (Only for Basic), similarly as BS3 and jQm say (Obsolete).