Workshift work2abs

From SDU
Revision as of 03:01, 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. date workshift_abs2work(string workshift, date start, int duration) Returns the da...)

(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.

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

Returns the date from the start date plus the duration for the given workshift. Note: workshift is repersented as a string (eg. "Mon - Fri { 7:30 am - 5:30 pm }")