Skip to content
Prev 166408 / 398502 Next

Creating file names.

I have a function that is called from a "sourced" script, whenever
certain conditions are met.

I have this inside it:  if(P > 0.9)save( file = today() , myLMSmodel );


This gives me files that look like this: Thu Jan  8 14:04:43 2009

That works fine on my Mac, but it would be much more convenient to
have something like this:

LMSMOD_Jan_08_09_1404


Does anyone know how I can do this?

(You don't have to put in the underscores, if it's too much work.)

Thanks,


Gregg Allen