Difference between revisions of "Workshift abs2work"
From SDU
(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...) |
m (Reverted edits by Agegeleruvy (Talk); changed back to last version by Gityerfix) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | USD | + | __NOTOC__ |
| + | {{Global Header}} | ||
| + | {{Global Announcement}} | ||
| + | |||
| + | == Details == | ||
| + | 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) | 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. | Returns the time in seconds from the start date to the finish date for the given workshift. | ||
| − | Note: workshift is | + | Note: workshift is represented as a string (eg. "Mon - Fri { 7:30 am - 5:30 pm }") |
Latest revision as of 05:22, 30 November 2010
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.
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 }")