27.3.2.3.3 TimeNow

 

Get the current system time that WebAccess system using in date format.

 

Syntax

viewdll.dll

struct tm VD_API * VdBroadWinGetTm(void);

viewdll.dll

void VD_API VdBroadWinTimeNow(struct tm *time_now);

Bwdllobj

Public Function TimeNow() As Date

 

C#

Date TimeNow();

 

 

Parameters

None.

 

Return Value

Type: String

Return the current system time that WebAccess system using in date format.

 

Remarks

 

C# Sample Code

private void btnTimeNow_Click(object sender, EventArgs e)

{

    tbTimeNow.Text = ViewDllWrap.TimeNow().ToString();

}