Incorrect "Usage Data" information and how to Reset SD Counters.
SD Java might display incorrect information for the field "Last Counter Reset" (SD node -> Usage Data), in case of sudden shutdown of the Server.
For example, please view the attached picture, where you can see that the Server date is 24/12/2003 and Last counter reset is 12/10/2004 (which is impossible).
In order to fix it, you will need to stop SD and edit the XML.
Editing the xml Tag "bw_last_reset_time" is the timestamp of PHP for the current date.
You can check our test environments ("Last Counter Reset" field) and compare this parameter.
You can also use the php functions:
mktime -- Get UNIX timestamp for a date
Returns the Unix timestamp corresponding to the arguments given. This timestamp is a long integer containing the number of seconds between the Unix Epoch (January 1 1970) and the time specified.
getdate -- Get date/time information
Returns an associative array containing the date information of the timestamp, or the current local time if no timestamp is given
For more information, please view SPR 200042/133