Reading the pages for localtime, there are two contexts - the scalar and the list contexts. Is there a pre-defined way of converting between the two? Basically, I'd like to be able to store in a file the scalar return (a nicely formatted string), but be able to do calculations with the list return (a nice series of numbers).