BrowserDateTime Property (.NET)

 

Type: String

 

Returns a formatted string containing the current date/time as set on client's machine (where the browser is running from). Note: This string is formatted in the user's locale. For example: "Tuesday, April 03, 2001 17:09:46" or "mardi 3 avril 2001 17:09:46.".

 

Note: Use of this property requires the Professional or Enterprise Edition of BrowserHawk.

 

C# Example:

<%

ExtendedOptions options = new ExtendedOptions();

options.AddProperties("BrowserDateTime");

ExtendedBrowserObj extBrow = BrowserObj.GetExtendedBrowser(options);

%>

<html>

BrowserDateTime: <% Response.Write(extBrow.BrowserDateTime); %>

</html>

 

See Also:

BrowserDateTimeMs Property (.NET)

TimeZoneDiff Property (.NET)

Country Property (.NET)