Difference between revisions of "Workshift work2abs"
From SDU
m |
(error in function definition) |
||
| Line 6: | Line 6: | ||
USD utilizes workshifts and sometimes it is useful 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 | + | date workshift_work2abs(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 }") | 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 17:01, 5 November 2008
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.
To discuss or ask questions about this article, select the discussion tab above.
Details
USD utilizes workshifts and sometimes it is useful to be able to determine times within a workshift.
date workshift_work2abs(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 }")