[DiscordArchive] Do you have any idea where the client would have if in a dbc?
[DiscordArchive] Do you have any idea where the client would have if in a dbc?
Archived author: Bench • Posted: 2024-10-12T15:06:13.514000+00:00
Original source
If they contain dates at all, not 100% sure that they do
Archived author: OUTRAKE • Posted: 2024-10-12T15:06:14.867000+00:00
Original source
thats the decoded date
Archived author: Bench • Posted: 2024-10-12T15:06:22.180000+00:00
Original source
I believe it
Archived author: OUTRAKE • Posted: 2024-10-12T15:06:42.536000+00:00
Original source
```
To decode the packed Blizzard date 536867712, here’s what each part means after applying the bit shifting and masking operations:
Minutes: 0-59
Hours: 0-23 (24-hour clock)
Day of the week: 0-6 (where 0 = Sunday, 1 = Monday, etc.)
Day of the month: 1-31
Month: 1-12 (1 = January, 12 = December)
Year: Base year is 2000, so the value gives you the number of years after 2000.
Time zone: Blizzard might encode time zones as 0-3 depending on how their system works (e.g., server region or offset).
Once decoded, this will give you a readable date and time. Let’s manually decode the Blizzard date 536867712:
Minutes:
Extracted from the first 6 bits:
minutes = 536867712 & 0x3F = 0
So, the minutes are 0.
Hours:
Shifted by 6 and extracted from the next 5 bits:
(536867712 >> 6) & 0x1F = 14
So, the hour is 14 (2:00 PM in 24-hour format).
Day of the week:
Shifted by 11 and extracted from the next 3 bits:
(536867712 >> 11) & 0x07 = 5
So, the day of the week is 5, which is Friday.
Day of the month:
Shifted by 14 and extracted from the next 6 bits:
(536867712 >> 14) & 0x3F = 5
So, the day of the month is 5.
Month:
Shifted by 20 and extracted from the next 4 bits:
(536867712 >> 20) & 0x0F = 1
So, the month is January.
Year:
Shifted by 24 and extracted from the next 5 bits:
(536867712 >> 24) & 0x1F = 7
Adding this to the base year 2000 gives us: 2000 + 7 = 2007.
Time zone:
Shifted by 29 and extracted from the next 2 bits:
(536867712 >> 29) & 0x03 = 0
So, the time zone is 0 (likely server time or UTC).
Final Decoded Date and Time:
Date: January 5, 2007
Time: 14:00 PM (2:00 PM)
Day: Friday
```
Archived author: OUTRAKE • Posted: 2024-10-12T15:06:46.883000+00:00
Original source
save this for later
Archived author: OUTRAKE • Posted: 2024-10-12T15:07:41.237000+00:00
Original source
chatgpt power
Archived author: Honey • Posted: 2024-10-12T15:26:39.878000+00:00
Original source
Sounds about right.
I recall wowtime being based on an offset sometime in the beta release.
Archived author: Ryan Turner • Posted: 2024-10-12T15:27:34.284000+00:00
Original source
If the chat GPt answer is correct, Did the event originally start on a friday?