Created
July 22, 2016 18:11
-
-
Save shaik2many/ae368f51756869cf89f69d430437927f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public string function getModifiedDate(string filepath) { | |
var absPath = ExpandPath( "./") & filepath; | |
if(!fileExists(absPath)) { | |
WriteLog(type="Error", file="tpc", text="File does not exists: "&absPath); | |
return 0; | |
} | |
return dateTimeFormat(GetFileInfo(absPath).LastModified, "yymmddHHnnss", "GMT"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment