I’m curious if anyone can point me to a robust and well documented Date library for AS3. Specifically, I’d like one that works (at least in principal) like the Java date formatter, so that you can pass in a string of a specific type and get back a date object that can then be easily translated to an alternate timezone, etc. Working with the native Date object is an incredible PITA for when one needs to do things like this… I’m hoping I won’t have to re-invent this wheel from scratch.
TIA
ok, well… seeing as how no one else chimed in, I went ahead and wrote my own. It’s documented as to what it expects as the constructor, as well as how to get it to format dates and translate them to alternate timezones…
All the usual stuff about no guarantees about how well it works (or at all for that matter).
It has no external dependencies of any kind. Just create an .as file with a matching name (feel free to re-name it, if you like) and go to town.
All the public functions are at the top, with a little documentation (where not entirely self evident).
Hope it helps…