Hi Phil, On 27 Oct 2013, at 17:57, p...@highoctane.be wrote:
> I am trying out that Printf package from SS and it is decent. > > e.g. > > 'File-%02d%02d%02d-%02d%02d.ext' printf: { now year. now month. now day. now > hour. now minutes.}. > > > I'll have a look at yours. > > Phil A possible alternative is using the ZTimestampFormatter from the ZTimestamp package (see ConfigurationBrowser): 'file-{1}.ext' format: { (ZTimestampFormat fromString: '0102031605') format: TimeStamp now }. => 'file-1310272012.ext’ 'file-{1}.ext' format: { (ZTimestampFormat fromString: '200102031605') format: ZTimestamp now }. => 'file-201310271913.ext’ The former is local time, the latter is UTC. Sven