Assuming formattime is required, the following 3 results were found.
a little disorganised but they're the ones I copy and paste to my scripts then modify. In it's straightforward form FormatTime( TimeString, Format ) { FormatTime, FormattedTime , TimeString, %Format% return Formattedtime } The following function is to...
:= A_LoopFileFullPath v_OriginalFilePath := StrReplace(A_LoopFileFullPath, v_FolderToSearch "\", "") ; transform FormatTime, v_TimeModified, %A_LoopFileTimeModified%, dd/MM/yyyy hh:mm:ss FormatTime, v_TimeCreated, %A_LoopFileTimeCreated%, dd/MM/yyyy...
DaysPerMonth, DaysInMonth, `, DaysInThisMonth:=DaysPerMonth%ThisMonthNum% ; get the first day-of-week of this month FormatTime, firstDayBlankNum, %A_YYYY%%A_MM%1, WDay ; add blank spaces in front of this first day dateToDisplay:=1 If (firstDayBlankNum