StartDate Property

Syntax:

 startDateTime = chStatsObj.StartDate

Returns:

Returns a datetime variable that represents the date and time when the statistics currently in memory started being collected.

Example:

<%

set chStatsObj = Server.CreateObject("cyScape.CountryStats ")

response.write "Statistics started collection at: " & chStatsObj.StartDate

totalHits = chStatsObj.Total("DE")

response.write "<br> Total hits from Germany: " & totalHits %>

If you do not use the LoadFromFile method, the StartDate represents the date and time when the first hit was processed by CountryHawk since the last time your web services or application was started.

If you are using the LoadFromFile method, the StartDate represents the date and time when you first started collecting the statistics. The original starting point of your stats collection is saved, along with the statistical data, by the PersistToFile method and loaded each time by the LoadFromFile method.

Note: Use of this property requires the Enterprise Edition of CountryHawk.

Note: This property is read-only.

See Also:

CountryHawk Object Properties and Methods

RegionStats Object Properties and Methods