CA SDM::.SPEL::. abs2work

Document created by TMACUL Champion on Jan 25, 2017Last modified by TMACUL Champion on Jan 26, 2017
Version 2Show Document
  • View in full screen mode

Workshift abs2work


USD utilizes workshifts and sometimes it is useful to be able to determine times within a workshift.

int workshift_abs2work(string workshift, date start, date finish)

Returns the time in seconds from the start date to the finish date for the given workshift. Note: workshift is represented as a string (eg. "Mon - Fri { 7:30 am - 5:30 pm }")