Difference between revisions of "Workshift work2abs"

From SDU
Jump to: navigation, search
m
(Details)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<div align='center'><font color="green">To make corrections or additions to this article, select the ''edit'' tab above.<br>
+
{{Global Header}}
To discuss or ask questions about this article, select the ''discussion'' tab above.</font></div>
+
{{Global Announcement}}
  
 
== Details ==
 
== Details ==
 
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 workshift_abs2work(string workshift, date start, int duration)  
+
date workshift_work2abs(string workshift, date start, duration seconds)  
  
 
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 }")

Latest revision as of 21:19, 1 June 2012

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.

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, duration seconds)

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 }")