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 3 Current »

Content Freeze

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

The Date.minuteDiff() API returns the difference between two date, time, or timestamp fields in minutes.

Parameters
  1. Date/time 1
  2. Date/time 2

Return Value

Number of minutes between the two dates/times.

Example
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()

  • No labels