Serial port and GPS

Utils.getDateFileName Method 

Creates a file name with the given extentsion and a timestamp in the name.

[Visual Basic]
Public Shared Function getDateFileName( _
   ByVal dir As String, _
   ByVal ext As String _
) As String
[C#]
public static string getDateFileName(
   string dir,
   string ext
);

Parameters

dir
the directory for the full path of the file
ext
the desired extension

Return Value

Filename consisting of exe dir, exe file name, present date yyyyMMddHHmmss, the desired extension.

Remarks

Usefull for creating unique file names etc.

See Also

Utils Class | serial Namespace