I've been building a plugin info script, similar to the ones provided by Nick, in PerlScript. It's primarily an aid to me to help get used to making plugins.
I'm having problems retrieving the written on and last modified date values. Below is a list of the formats attempted, and the whacky results returned.
$world->getPluginInfo($x,14)
Win32::OLE::Variant=SCALAR(0x1e0d20c)
${$world->getPluginInfo($x,14)}
31496000
I thought the second would be seconds, but when I put the value in localtime(), it returns Thu Dec 31 04:54:24 1970. Is this some obscure seconds since ... specific to the language the plugin engine assumes...or...? I'm completely lost here.
I'm having problems retrieving the written on and last modified date values. Below is a list of the formats attempted, and the whacky results returned.
$world->getPluginInfo($x,14)
Win32::OLE::Variant=SCALAR(0x1e0d20c)
${$world->getPluginInfo($x,14)}
31496000
I thought the second would be seconds, but when I put the value in localtime(), it returns Thu Dec 31 04:54:24 1970. Is this some obscure seconds since ... specific to the language the plugin engine assumes...or...? I'm completely lost here.