Click or drag to resize

IRelationUpdatedDate Property

The date of the most recent update. The date and time the relation was last edited. If the relation has never been updated, this will return 0; formatted as a SuperOffice date (see the database manual), this will return 01.01.1970

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
DateTime UpdatedDate { get; }

Property Value

Type: DateTime
Date – formatted as short date format and time format, from the control panel.

Implements

IModelBaseUpdatedDate
Examples

UpdatedDate

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    set relation = objSO.CurrentRelation
    msg = "The internal identity = " & relation.identity & vbCrLf
    msg = msg & "Originally made by: " & relation.CreatedAssociate.Fullname & vbCrLf
    msg = msg & "when: " & relation.CreatedDate & vbCrLf
    msg = msg & "Changed by: " & relation.UpdatedAssociate.Fullname & vbCrLf
    msg = msg & "when: " & relation.UpdatedDate & vbCrLf
    msgbox msg, vbInformation + vbOkOnly, "Current relation: "
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also