Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Note
titleContent Freeze

As of July 25th, 2023, there is a content freeze on this page.

The date.extractMinutes() method returns the minutes portion of a time variable or timestamp

Parameters
  1. Length(Optional)
  2. Decimals(Optional)

Return Value

The number of minutes in a time variable or timestamp

Example

...


Code Block
languagejavascript
pjs.define("time", { type: 'time', initValue: '12:11:12'})
pjs.define("num", { type: "zoned", length: 7, decimals: 2}) 
  
num = time.extractMinutes(7,2);

return num;
//11

...