Previous Topic

Next Topic

Now - MaxBasic Function

Now: Date

Returns the current machine date and time.

Now and Now() return the same value.

This function needs MaxBasic VB compatibility, which is the default and is recommended. See MaxBasic VB Compatibility.

Sample code:

  Print Now

When VB compatibility is not selected

When MaxBasic VB compatibility is not selected on System Settings - General tab, and the script has no Option VBCompatibility statement, Now is not available and gives an error. Use Date and Time instead.

See Also

Date Functions

Book Contents

Book Index