Difference between revisions of "Workshift work2abs"

From SDU
Jump to: navigation, search
(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...)
 
Line 1: Line 1:
USD utilises workshifts and sometimes it is usefull to be able to determine times within a workshift.  
+
USD utilizes workshifts and sometimes it is useful to be able to determine times within a workshift.  
  
 
date workshift_abs2work(string workshift, date start, int duration)  
 
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 }")
+
Returns the date from the start date plus the duration for the given workshift. Note: workshift is represented as a string (eg. "Mon - Fri { 7:30 am - 5:30 pm }")

Revision as of 19:41, 4 March 2008

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