The magic of Perl has failed me, but I was comforted to learn that it was there.
I have a PerlScript ASP that is querying an MS Access DB. One of the fields is a date field, and it seems the PerlScript can't make any sense out of the data. Is there an incantation I can use to release the date?
I was comforted to know that Perl is doing magic to release the other data types. If I ask it to add or write $RS->Fields(0)->{Value} then it does so, since that field is a long integer. But if I ask it to write $RS->Fields(9)->{Value} it writes out the memory address of the scalar pointer. That field is supposed to be a date, represented in the DB in m/d/yyyy format.
I figure that date data is not represented as a string, but as some proprietary data, and as such, Perl can't understand it, or assumes it is another pointer, so it shows it to me. I explicitly dereference it and ask it to write ${$RS->Fields(9)->{Value}}. When I do that it writes a long string or numbers much like "155963932".
What is that? Is it epoch seconds? I haven't a clue.
-Travis
In reply to MS Access DB Date Field by THuG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |