The JSCalc Script Helper consists of pre-programmed buttons that will help you generate codes in JavaScript.

There are buttons for mathematical operators, conditional operators, and also custom inputs.

The following table describes the function of each Custom Input button.

Buttons

Description

Text

Returns text content.

formatDate

Changes date format (read more).

todayDate

Displays today's date.

dateDifference

Displays the time difference between two dates in millisecond, second, day, week, month, or year (read more).

dateAdd

Adds specified time to date.

dateDeduct

Deducts specified time to date.

Did this answer your question?