TrackStudio Enterprise 3.1
Example 5

To return the number of days since the last update (this field can be used to find out what tasks have been neglected for a long time), use the following task processing script:

((new Date()).getTime() - task.getUpdatedate().getTime())/DAYS

Associated custom field properties:

Property 
Value 
Type 
Integer 
Copyright (c) 2002-2005. All rights reserved.