Return to directory of Todd's CASA extensions

Computes the number of days between two dates specified by strings of the format YYYY-MM-DD or YYYY/MM/DD or YYYYMMDD.


au.computeIntervalBetweenTwoDays(date1, date2)


CASA <8>: au.computeIntervalBetweenTwoDays('2014-11-04','2012-03-05')
  Out[8]: 974

-- ToddHunter - 2014-11-07

This topic: ALMA > TWikiUsers > ToddHunter > CasaExtensions > ComputeIntervalBetweenTwoDays
Topic revision: 2014-11-07, ToddHunter
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback