Opened 15 years ago
Closed 15 years ago
#1180 closed Bug (Fixed)
_Date_Time_GetTimeZoneInformation Returned Values
Reported by: | yn0t <spinxkx@…> | Owned by: | Jpm |
---|---|---|---|
Milestone: | 3.3.1.2 | Component: | Documentation |
Version: | 3.3.0.0 | Severity: | None |
Keywords: | Cc: |
Description
In the documentation of _Date_Time_GetTimeZoneInformation it states that elements [3] & [6] returns a $tagSYSTEMTIME date and time of when Daylight Savings time starts/ends. This should probably be clarified.
The returned value is not an actual date. It represents which Sunday the change over takes place. For example after the following is run.
$TimeZone = _Date_Time_GetTimeZoneInformation()
$array = _Date_Time_SystemTimeToArray($TimeZone[6])
$array[0] will equal 3 (March) and $array[1] will equal 2. The 2 represents the second Sunday (which is March 8th, 2009 this year). It does not represent March 2nd.
Attachments (0)
Change History (1)
comment:1 Changed 15 years ago by Jpm
- Milestone set to 3.3.1.2
- Owner set to Jpm
- Resolution set to Fixed
- Status changed from new to closed
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Fixed in version: 3.3.1.2