Workshift abs2work

From SDU
Revision as of 02:58, 27 February 2008 by Bredding (Talk | contribs) (New page: USD utilises workshifts and sometimes it is usefull to be able to determine times within a workshift. int workshift_abs2work(string workshift, date start, date finish) Returns the time i...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

USD utilises workshifts and sometimes it is usefull 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 repersented as a string (eg. "Mon - Fri { 7:30 am - 5:30 pm }")