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 6 Next »

The Date.microsecondDiff() method returns the difference  between two different dates in microseconds.

Parameters
  1. Date
  2. Date

Return Value

Number of microseconds between two dates

Example

 

pjs.define("time", { type: 'time', initValue: '12:00:00'})
pjs.define("time1", { type: 'time', initValue: '12:00:10'});
pjs.define("diff", { type: 'integer'} );

diff = Date.microsecondDiff(time1,time)

return diff;
//10000000

RPG Equivalent

%DIFF()

  • No labels