Date is a complex data type representing a day, month, and year on ISO format YYYY-MM-DD. The default value is now.Before a Date is initialized, it has no value. This is commonly written as NULL, NUL, or NIL in other programming languages. CRMScript automatically initializes Date objects when declared to the current date. Thus this situation is uncommon.
DateTime is a complex data type representing a timestamp with both date and time elements on ISO format YYYY-MM-DD. The default value is now.Before a Date is initialized, it has no value. This is commonly written as NULL, NUL, or NIL in other programming languages. CRMScript automatically initializes Date objects when declared to the current date. Thus this situation is uncommon.
A class for representing floating point numbers as objects. Floats are approximations of real numbers written with decimals. If you don’t need to work with decimals, use the Integer data type.
Longs are positive and negative whole 64-bit unsigned numbers without decimals. If you need to work with decimals, use the Float data type.
To represent a long number in the code as a literal, suffix it with an “L”, for example, “Long l = 576460752303423488L;“
A text string is a sequence of characters written with quotes.You can use single or double quotes, but they must always come in pairs. Quotes can also be nested, by alternating between single and double quotes.
A class for representing time as objects. Time is a complex data type representing the time of the day in hours, minutes, and seconds. The default value is now. ISO 8601 uses the 24-hour clock system. Format: hh:mm:ss