Opened 16 years ago

Closed 16 years ago

#160 closed Feature Request (Rejected)

FileGetTime - Date UDF compatible format

Reported by: WeaponX Owned by:
Milestone: Component: AutoIt
Version: Severity:
Keywords: filegettime Cc:


FileGetTime string format is not compatible with any of the Date UDF functions. Since this is the only internal function dealing with time I think it would be easier to change than all of the Date* functions.

Can we add an option 3 to output date/time in this format?

Attachments (0)

Change History (2)

comment:1 Changed 16 years ago by Valik

Why can't you write your own wrapper function around FileGetTime() which formats it how you want? Something like this (dry-coded)

Func _FileGetTime($sFile, $nOption = 0)
    Local $aTime = FileGetTime($sFile, $nOption)
    If @error Then Return SetError(@error, @extended, "")
    Return $aTime[0] & "/" & $aTime[1] & "/" & $aTime[2] & " " & $aTime[3] & ":" & $aTime[4] & ":" & $aTime[5]

comment:2 Changed 16 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

Resolving as rejected due to lack of activity combined with how trivial the request is.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.