ClientServerDateTime() Method

Table of Contents

  1. Function
  2. Syntax
  3. Parameters
  4. Return Value
  5. Sample Code
  6. Remarks
  7. Possible Errors
  8. Related Methods

Function

  • Returns the date and time local to the client

Syntax

  • string = AeXMLBridge.ClientServerDateTime();

Parameters

  • None

Return Value

  • Returns a string containing the server date and time (yyyy-MM-dd HH:mm:ss.nnn format)

Sample Code

C#

1
2
3
4
5
6
7
8
try
{
string dateTime = ws.ClientServerDateTime();
}
catch(Exception ex)
{
MessageBox.Show(ex.Message);
}

VB.Net

1
2
3
4
5
Try
Dim dateTime As String = ws.ClientServerDateTime()
Catch ex as Exception
MessageBox.Show(ex.Message)
End Try

Remarks

Possible Errors

  • None

extractNewDBElements
getActiveStatusConditions
getBaseClientData
getBrowserProfilesSimple
getClockGroupsSimple
getClockGroupStationsSimple
getClustersSimple
getClusterStationsSimple
getCompanyName
getCurrentBrowserProfileMenuItems
getHourlyStatusTypesSimple
getInactiveStatusConditions
getManuallySelectedSetupData
getPayClassesSimple
getPayDesignationsSimple
getPayPeriodClassData
getPayPeriodClasses
getPayTypes
getReasonCodesSimple
getSiteEnvironment
ServerUTCDateTime
setBaseClientData
updateNewDBElement

Back to Top