Resolved tags in the File Name.

The following tags will be resolved: <list> <item><code>[YMD]</code><description>This will be replaced by the current date, e.g. 20160630</description></item> <item><code>[YYMMDD]</code><description>This will be replaced by the current date, with a 2-digit year, e.g. 160630</description></item> <item><code>[YMDHM]</code><description>This will be replaced by the current date and time, e.g. 201606301520</description></item> <item><code>[YMDHMS]</code><description>This will be replaced by the current date and time, e.g. 20160630152010</description></item> <item><code>[HM]</code><description>This will be replaced by the current time, e.g. 1520</description></item> <item><code>[HMS]</code><description>This will be replaced by the current time including seconds, e.g. 152010</description></item> <item><code>[SEQ]</code><description>This will be replaced by a sequence number. This will start at 1 and be incremented until a unique file name is found</description></item> <item><code>[SEQ#3]</code><description>This will be replaced by a sequence number left padded with 0's so it is at least 3 digits. This will start at 001 and be incremented until a unique file name is found</description></item> </list>

Syntax

ISFileUtilities.FileNameResolved(fileName, date)

Parameters

NameTypeOptionalByRefDescription
fileName String The File Name to resolve.
date Date The Date to use when resolving date based tags.

Return Value

String

A String value.

Member of:
ISFileUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0