Versions Compared

Key

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

...

Number of minutes between the two dates/times.

Example
Code Block
languagejs
pjs.define("time", { type:

...

 'time', initValue:

...

 '12:00:00'});

...


pjs.define("time1", { type:

...

 'time', initValue:

...

 '12:10:00'});

...


pjs.define("diff", { type:

...

 'integer'} );

...


 
diff = Date.minuteDiff(time1, time);

...


  
return diff;

...


// 10


RPG Equivalent
%DIFF()