BrowserDateTime Property

 

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: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires either the Professional or Enterprise Edition of BrowserHawk.

 

Tip: See the extproperties.asp example located in your BrowserHawk directory for detailed information and examples on using this property.

 

Example:

<% set bhObj = Server.CreateObject("cyScape.browserObj")

bhObj.SetExtProperties "BrowserDateTime"

bhObj.GetExtPropertiesEx

%>

<html>Browser local date/time is:

<% =bhObj.BrowserDateTime %>

</html>

 

Special notes for this property:

 

See Also:

BrowserDateTimeMs Property

TimeZoneDiff Property

Country Property

GetExtPropertiesEx Method

SetExtProperties Method