Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The date.extractMilliseconds() method returns the number of milliseconds in a date

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

Return Value

The number of millieseconds in a date

Example

 

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

return num;
//0
  • No labels