PdcClockLine.StartClocking
Jump to navigation
Jump to search
Declaration
StartClocking as double
Description
Returns the start of the clocking
Notes
This property returns or changes the startdate and time of the clock line.
If a end time stamp and a personel number is filled, the WorkedTime is schedule based calculated.
The value is a floating point value. All whole values larger than 0 are days. For example: 40221 is CLng(11-02-2010).
The value "0" is the start date 31-12-1899.
The decimal part is the time. For example: 1 hour is 1/24.
Code example
This code example returns the start of the clocking of clockline with ID "456".
Sub sGetClockLineStartClocking
dim objClockLine
dim intID
intID = "456"
set objClockLine = pdc.ProductRegistration.ClockLines.Open(intID)
if IsValid(objClockLine) then
msgbox objClockLine.StartClocking
end if
set objClockLine = nothing
End Sub
Availability
Available since july 2008 (from version 3.8).