dm_path_parsed Function

public function dm_path_parsed(path) result(parsed)

Returns a parsed path or an empty string on error. The following format descriptors are allowed:

Format Description
%Y year
%M month
%D day of month
%h hour
%m minute
%s second

The descriptors will be replaced with their current values.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: path

Input path.

Return Value character(len=:), allocatable

Output path.