File modifacation format

(imported topic written by JamesN91)

I need to change the file modifacation format.

Here is what I have now…

c:\Logs\findme.docx, Tue, 26 Jan 2010 14:13:59 -0600

Here is what I want…

c:\Logs\findme.docx, 1/26/2010 14:13:59

Current Relevance…

NOTE - going through a text file and adding date/time + others.

// go through the list in relevance to remove docs and settings and look up size/dates

appendfile {concatenation “%0d%0a” of (if (exists (file (it))) then (it & ", " & modification time of

file(it) as string & ", " & (size of file(it) as string)) else nothings) of lines whose (it does not

contain “documents and settings”) of file (parameter “outputfile”)}

// replace the output file with the new file

delete “{parameter “outputfile”}”

move __appendfile “{parameter “outputfile”}”

Thank you

(imported comment written by Lee Wei)

JamesN,

You can put this relevance right in front of the file modification time.

q: ((month of it as two digits & “/” & day_of_month of it as two digits & “/” & year of it as string) of date(local time zone) of it & " "& (two digit hour of it as string & “:” & two digit minute of it as string & “:” & two digit second of it as string) of time (local time zone) of it) of now

A: 02/24/2010 15:05:20

Lee Wei

1 Like

(imported comment written by JamesN91)

Lee Wei

JamesN,

You can put this relevance right in front of the file modification time.

q: ((month of it as two digits & “/” & day_of_month of it as two digits & “/” & year of it as string) of date(local time zone) of it & " "& (two digit hour of it as string & “:” & two digit minute of it as string & “:” & two digit second of it as string) of time (local time zone) of it) of now
A: 02/24/2010 15:05:20

Lee Wei

Thank you! While I was hoping for a command switch this will definately work!