The coolest way would be to not decode it at all.
The great benefit of that format is that for 90% of uses -- sorting; comparing; matching; inclusion & exclusion -- you don't have to waste bazillions of cycles constructing O'WoE, heavyweight objects that lie, you just use them as strings and it all works out.
In reply to Re^2: Coolest way to decode YYYYMMDD?
by BrowserUk
in thread Coolest way to decode YYYYMMDD?
by locked_user sundialsvc4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |